Commit Graph
179 Commits
Author SHA1 Message Date
Mike Brady 8d008fa2ec Begin to add full-scale post processing. Does not compile. 2016-09-08 15:56:22 +01:00
Mike Brady 2fad92e7a7 Get dither mask working right 2016-09-08 07:57:28 +01:00
Mike Brady 4849c1d429 Remove mersenne generator -- too slow, try another one 2016-09-07 16:55:14 +01:00
Mike Brady 4e4edf9909 Add a fancy 64-bit pseudo random number generator -- thanks to its developers 2016-09-07 09:05:43 +01:00
Mike Brady c7c794c72b Preliminary support for 32-bit stuffing 2016-09-05 22:35:44 +01:00
Mike Brady cb7c12d636 Fix silence bug and hack code to avoid the stuff procedures 2016-09-05 17:11:30 +01:00
Mike Brady e6e1acd91e Stop multiplying monotonic timestamps by the output to input sampling ratio 2016-09-05 15:24:59 +01:00
Mike Brady ae84366e8d Change over to times as opposed to frames for setting timing options 2016-09-04 19:37:22 +01:00
Mike Brady eca364691e Working reliably with all 16-bit speeds 2016-09-04 16:34:56 +01:00
Mike Brady 30a016867c Add code to change format from 16 to 24 and 32 bit and to change sample rates 2016-09-04 13:29:11 +01:00
Mike Brady 68721f64e0 Fix a few little bugs associated with outputing at a higher rate 2016-09-02 17:29:24 +01:00
Mike Brady ef851a927b Enable 64-bit monotonic rtptime calculations 2016-09-02 16:53:52 +01:00
Mike Brady 1185a2aaa9 Add more support for monotonic 64-bit timestamps and frame sequence numbers 2016-09-02 13:48:39 +01:00
Mike Brady 7f6f4f4478 Begin to add support for monotonic 64-bit timestamps and frame sequence numbers 2016-09-02 12:22:38 +01:00
Mike Brady 0479994c4c Apple ALAC decoder not working -- magic cookie contents are faulty. 2016-08-30 23:33:08 +01:00
Mike Brady 72f1c3b5ae Make the decoder choice a bit more general, highlight names of input format parameters 2016-08-30 22:01:05 +01:00
Mike Brady 945483d9c3 Merge support of apple's ALAC decoder 2016-08-28 21:38:24 +01:00
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