Commit Graph
612 Commits
Author SHA1 Message Date
Mike Brady a1519f2abe Make it compile -- untested 2016-08-24 16:30:02 +01:00
Mike Brady ae036720b4 Fix a comment typo. 2016-08-22 09:09:17 +01:00
Mike Brady 7bd82dad0e Begin to add in calculations for expanded back end 2016-08-19 18:25:59 +01:00
Mike Brady 01e5128507 Add ability to set output format and output rate 2016-08-19 12:51:15 +01:00
Mike Brady d12c7ec090 Fix a bug just introduced into the basic stuffing function. 2016-07-16 14:24:34 +01:00
Mike Brady adc44b2518 Handle variable sized packets of audio frames; make a small correction to the basic stuff function 2016-07-16 14:11:58 +01:00
Jörg Krause 78f5153b11 Make statistics output more parsable 2016-05-16 21:52:22 +02:00
Mike Brady b2474c7b05 Add some debug information to help understand some of the startup dynamics 2016-05-09 11:00:23 +01:00
Mike Brady 2239efe8ca Check for zero length or NULL play buffers and skip them if they happen. 2016-05-08 13:17:47 +01:00
Mike Brady 1bb56b4ca1 Change mono setting to playback_mode setting and add to config file. 2016-05-02 09:07:39 +01:00
mike 46bcdce764 Added option for mono output 2016-04-24 21:25:24 +01:00
Mike Brady fbdd65ac37 Fix a bug whereby when hardware muted, volume set to 0, i.e. 0dB which could be the maximum. Now explicitly set to minimum. 2016-04-05 10:20:14 +00:00
Mike Brady ca5526ce85 Brown bag commit -- not printing delay error messages properly. 2016-04-02 20:32:44 +00:00
Mike Brady c1118eedbf Reduce minimum buffer length below which no stuffin will be done. 2016-04-02 15:08:17 +00:00
Mike Brady e22aa0e16b Change wording of buffers-empty message. 2016-04-01 16:27:58 +01:00
Mike McKnight 9323e65df8 Merge upstream and rebase local mods to development 2016-03-31 08:04:58 -06:00
Mike Brady 2e356f7c93 Reduce the minimum threshold for allowing interpolation to a buffer size of 2000 2016-03-30 10:58:33 +00:00
Mike Brady 0a9e4c8e51 Handle positive and negative delay() results and handle status returns separately. 2016-03-29 16:09:25 +00:00
Mike Brady 0bf3453390 Ensure the buffers exhausted message is sent one per occasion, slightly tidy up a calculation. 2016-03-29 12:06:03 +00:00
Mike Brady c24c6bb265 Add a little extra information to diagnostic when a player packet out of sequence error is retected. 2016-03-28 08:40:52 +00:00
Mike Brady 344d645b0a tighten up calcuations of when to start sending silence and how to adjust it, taking account of C rules of type changing and promotion 2016-03-27 16:11:35 +00:00
Mike Brady ee240f2f6f Make time_to_play a uint64_t and correctly handle addition or subtraction of the delta -- possible bug fix. Check types of arguments associated with caulcuation whether to wait or not. 2016-03-27 14:59:02 +00:00
Mike Brady cca403c260 Add no-sync option, don't try to sync if delay() returns -1, check and comment some integer and sign promotion, update stats printing, (but more to do there). 2016-03-26 21:40:59 +00:00
Mike McKnight 89f47af295 Merged upstream changes 2016-03-17 09:16:06 -06:00
Mike Brady f4d2631d1c Quieten some unnecessary debug messages. 2016-02-29 19:54:51 +00:00
Mike Brady e9966089b8 Fix an error whereby the player would wait endlessly when a frame not marked ready (i.e. a missing frame) was presented. 2016-02-29 13:36:53 +00:00
Mike Brady c8af40e9ca Experimentally, discard flush request that come before the first packet -- TuneBlade bug workaround 2016-02-05 09:25:21 +00:00
Mike Brady 686082b34d Take a little more care of access to the alsa system; wait 100 ms after finishing with it to release data strucutres 2016-02-02 14:43:37 +00:00
Mike Brady 6c485fa5b8 Make alac check allocated buffer size and make player check and discard bad audio frames. 2016-02-02 09:43:44 +00:00
Mike Brady c2949b0ff5 Add proper data structure for passing parameters between threads. Add some debug messages. 2016-02-02 09:08:19 +00:00
Mike Brady 51ae68e095 Experiment with waiting a little while before sending resend requests. 2016-01-23 19:02:49 +00:00
Mike Brady 09d9905328 Fix silly error 2016-01-23 18:00:45 +00:00
Mke Brady 9f7a3ff4e1 Ask for the correct number of packets to be resent -- it was asking for one too many in some situations. 2016-01-23 17:57:43 +00:00
Mke Brady 9a9c9842fc Remove global signalling for stopping threads 2016-01-23 17:50:36 +00:00
Mike Brady 21fb39d22f Begin to clean up the 'stop' signalling among the threads -- try to remove as many globals as possible 2016-01-22 17:47:25 +00:00
Mike McKnight 0bac2feed5 Modified to spit out play time after stream has disconnected 2016-01-07 12:58:13 -07:00
Mike McKnight 57e52f67bb Merge origin/development changes 2016-01-07 11:08:55 -07:00
Mke Brady 4e395ff3a5 Tiny changes 2015-12-26 15:14:01 +00:00
Mike Brady 186e4181e6 Remove pesky assert on alac_decode ooutput size 2015-12-15 18:10:34 +00:00
Mike Brady 6802f4ae2a Add a little diagnostic to the output of the alac decoder. 2015-12-14 17:12:03 +00:00
Mke Brady 73c3744e4c Add check for processor endianness. Fix a small warning. 2015-11-29 20:59:11 +00:00
Mike Brady c15c49fd2e Fix the software-volume control dither algorithm, which was (a) broken [by me] and (b) not best practice anyway. 2015-11-26 17:32:08 +00:00
Mike McKnight 4d954c775f Added total packet counts 2015-11-10 14:50:21 -07:00
Mike Brady 3557835b68 Tidy up some debug messages 2015-11-07 19:08:10 +00:00
Mke Brady b74705b7b6 Extensively revise the volume splitting -- put hardware at the bottom of the attenuation range. 2015-11-07 18:10:56 +00:00
Mke Brady f424c6dbf7 Compiles, sorta runs, flaky 2015-11-05 22:35:38 +00:00
Mike Brady 4c70223f5a Work in progress, doesn't compile 2015-11-05 18:03:58 +00:00
Mke Brady 3b88d05137 Add CYGWIN flag check to be recognised as Posix-enough (?) 2015-10-21 10:22:56 +01:00
Mke Brady ea25011394 Functional volume_range_db setting in the general stanza 2015-10-07 22:33:20 +01:00
Mke Brady a89da7fded Fix a bug whereby it would not start to play the stream -- visible when used as system sound. Improperly initialised first_packet_timestamp 2015-10-06 13:39:05 +01:00