696 Commits
Author SHA1 Message Date
Mike Brady b21fafe482 shorten the duration of the Gibbs phenomenon overlay -- sounds a little better... 2014-08-29 12:39:51 +01:00
Mike Brady 88fc18ad49 Add Gibss phenomenon hack to end of the packet (as well as the start). 2014-08-29 12:00:30 +01:00
Mike Brady f6df7e9232 Add a simple pseudo-random throttle to keep the rate of corrections below 1:1000 on average -- that is, about 1 packet in three may be interpolated. 2014-08-27 18:34:24 +00:00
Mke Brady d713591df8 Move the time_of_last_packet timeout check to where it can run even if playback never started or was aborted, duh. 2014-08-26 19:23:54 +01:00
Mike Brady 771aa1a130 Add support for PolarSSL, libsoxr, fix ab_* and seq_* definitions and utilites, remove FANCY_RESAMPLING stuff, fix many many bugs. 2014-08-24 16:32:34 +01:00
Mike Brady 115991ca24 Make the timeout for unexplained loss of audio packets 120 seconds, up from 6 seconds. Too short a delay can make the source think shaiport has gone away. There might be a better way to do this. 2014-06-12 11:11:17 +01:00
Mike Brady 3f121c2b05 Improve the misquotation of Yeats' 'Easter, 1916' 2014-06-07 17:45:44 +00:00
Mike Brady fab829cfde Change no-audio timeout from 4 to 6 seconds. An then, only ask to teardown once. 2014-06-07 17:38:43 +00:00
Mike Brady 32448afc4a If there is a gap in audio for more than 4 seconds, it tears down the connection. 2014-06-04 22:12:30 +01:00
Mike Brady d6a69d6f23 Delay for 0.1 seconds if first packet is late. 2014-05-27 08:16:43 +01:00
Mike Brady f14221698e Flush if first packet is late. 2014-05-25 18:48:19 +01:00
Mike Brady 86f911c2fd ignore silent frames substituted for missing frames. 2014-05-23 16:55:28 +01:00
Mike Brady 93e247b182 Stop complaint about losing sysnc when asked to stop. 2014-05-22 16:33:35 +00:00
Mike Brady 38a249624c Flush and resync if player gets more than 30 ms out of sync. Can happen if iTunes machine is very busy or network is bad. 2014-05-22 13:39:46 +00:00
Mike Brady 2c01e9b927 Correct sign of divergence, clean up formatting a little. 2014-05-22 13:02:04 +01:00
Mike Brady 3c351d7b40 Make DAC buffer 6615 frames (0.15 sec.) for Debian 7 on VMWare Fusion. 2014-05-21 21:10:58 +01:00
Mike Brady 74ba4f3da4 Turned off a few debug messages. 2014-05-20 16:12:08 +00:00
Mike Brady f1bd0373c7 Remove a stupid error -- introduced in the last few updates -- causing it to ignore the contents of the buffer. Duh. 2014-05-20 15:55:58 +00:00
Mike Brady 049ab78641 Check for dealy error return code. 2014-05-20 15:19:59 +01:00
Mike Brady 1a0932d92a Remove extra returns and generally clean up some debug messages. 2014-05-19 19:12:13 +01:00
Mike Brady 26992acf95 Remove the biquad filter code. 2014-05-19 17:48:08 +01:00
Mike Brady 08199b9910 Add copyright and edit a 'too late' debug message. 2014-05-12 17:17:19 +01:00
Mike Brady dcf0b80f70 Oops -- the sign on the drift is wrong. Fixed. 2014-05-09 18:15:21 +01:00
Mike Brady 82cef38bb3 Make use of vol2attn in software and hardware mixers. 2014-05-09 17:54:30 +01:00
Mike Brady 2d24a265a0 As before. 2014-05-07 15:53:35 +01:00
Mike Brady 3ac57d2cb2 Allow DAC to have 11025 frames; add flushing if we are too late to start the first frame. 2014-05-07 15:50:50 +01:00
Mike Brady a4d3e115db Add some extra diagnosrics output. 2014-05-07 10:19:23 +01:00
Mike Brady 75c15ba333 Fix initial silence calculation that could cause it to wait for about 100,000 seconds. 2014-05-06 23:21:56 +01:00
Mike Brady e464e99337 Add some diagnostics, fix 252 frame error -> should be 352. Remove chatty debug messages. 2014-05-05 21:31:20 +01:00
Mike Brady 9a5e313d93 Improve error detection. 2014-05-05 21:19:58 +01:00
Mike Brady b00238eccb Make initial latency report more truthful 2014-05-02 18:02:21 +01:00
Mike Brady f531194e7a Improve seriously broken flush facility. 2014-05-02 17:43:08 +01:00
Mike Brady 7187b63eb6 too numerous to mention: watch timing of everything, add pthread_cond_wait signalling, monitor latency of DAC, try to guess initial delay for first packet, trim or stuff packets to keep latency within bounds, much much more... 2014-04-30 20:54:52 +01:00
James Laird 8259ae60e8 die/warn functions now have implicit newline at the end 2013-06-04 00:30:17 +10:00
James Laird 3c8c9ed4b5 provide -B/-E for running shell commands on begin/end of playing
Implements functionality described by MaZderMind <github@mazdermind.de>
in issue #201.
2013-06-04 00:27:15 +10:00
James Laird a9c40871de player: more robust seq_t handling 2013-04-09 08:38:40 +10:00
James Laird 9bfa48f100 player: remove redundant code path for fetch/play thread
conditional wait code was redundant since a contributed change that
plays silence if nothing is in the buffer. that also broke the buffer
fill estimator reset pathway.
2013-04-08 20:51:01 +10:00
James Laird 9b9680819a player: cleanups
should get rid of some sign issues in debug messages on ARM
2013-04-08 19:58:16 +10:00
James Laird 9a041f26ce player: fix missing frame at stream startup 2013-04-08 19:56:59 +10:00
James Laird 7a2434aef7 player: talk about established buffer fill preference 2013-04-03 21:54:58 +11:00
James Laird 0f7b32ab6d debug: multilevel debug functions 2013-04-03 21:54:45 +11:00
James Laird 4e59846703 fix audio buffer allocation
...and make the implicit data dependency on frame_bytes more obvious
2013-04-02 22:54:18 +11:00
James Laird c627bae022 player: avoid leaking memory 2013-04-01 23:04:54 +11:00
James Laird cf8401dbc8 Add copyright notices. 2013-04-01 21:57:11 +11:00
James Laird b509a644d0 cleanups 2013-04-01 21:44:58 +11:00
James Laird a2fb5d219d Refactor and rewrite.
Perl script is removed in favour of C. Stale documentation and initfiles
are removed for now also.

C interface works, but still needs work (for example, mDNS is missing) -
see TODO.
2013-04-01 18:57:08 +11:00