Commit Graph
612 Commits
Author SHA1 Message Date
Mike Brady 94d3864ed8 Add a boolean to stop the player asking for the DAC delay before sending anything to it. 2015-10-03 23:24:06 +01:00
Mike Brady 2a4f404953 Disable using linear mixer scale for the time being. 2015-10-03 21:33:10 +01:00
Mke Brady ba02dee443 playing with using just a linear mixer 2015-10-03 12:49:56 +01:00
Mke Brady 569154159d Add experimental negotiated latencies setting and associated logic. 2015-09-25 18:19:00 +01:00
Mike Brady 8776f84e86 Initial debug and exploratory code 2015-09-25 16:47:58 +01:00
Mike Brady e052b5fb9e Use pkg-config to find libdaemon -- useful in FreeBSD -- and quieten a few warnings in FreeBSD 2014-10-11 19:55:29 +01:00
Mke Brady 83b7049ef3 Quieten unnecessary debugging 2015-09-01 10:28:55 +01:00
Mke Brady d10e097f4c Turn on a lot of debugging 2015-09-01 10:02:09 +01:00
Mike Brady dce45dcd30 Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Forgot changes made on the repository.
2015-08-18 08:13:56 -04:00
Mike Brady 07c888e0e7 Clean up a few comments 2015-08-18 08:13:00 -04:00
Mke Brady 9703007331 Don't start stuffing in the first five seconds. Allow 1:300 stuffing after 30 seconds. 2015-08-12 20:25:04 +01:00
Mike Brady e238bf238c Begin to add time-related changes to stuffing. 2015-08-12 17:36:28 +02:00
Mike Brady ff95a96e61 Allow more stack space for thread, include freebsd in the name of condional compilation variable 2015-08-01 14:34:35 +02:00
Mike Brady fcec637340 Add buffer size to diagnostics 2015-06-29 18:25:39 +00:00
Mike Brady 841014277e Add check of drift in the source material -- i,e, divergence between calculated and actual remote clocks for frames. 2015-06-26 15:11:21 +01:00
Mike Brady 300b4abe6f Add ability to output clock drift and corrections applied, both in microseconds. 2015-06-25 14:23:21 +00:00
Mike Brady 41f47f79f5 Tidy up and move packet counter inside mutex. 2015-06-17 18:42:05 +01:00
Mike Brady 2a1fe7afed Add ability to deal with an unencrypted audio stream 2015-06-17 12:10:33 +01:00
Mke Brady 8c55f603bc UDP port numbers are now chosen from port 7000 up. Two options are introduced to control this. joerg-krause's stack erro fix installed. 2015-06-10 22:18:17 +01:00
Mike Brady e810eb64ce Modify the statistics output when synchronisation is disabled. 2015-06-02 12:52:40 +00:00
Mike Brady 38281dd1c5 Add new auidio back end -- to stdout. 2015-06-02 11:59:56 +00:00
Mke Brady 87a0475c16 Reformat using clang-format. 2015-06-01 23:16:50 +01:00
Mke Brady 04e27cfe4f Reduce the number of times the player thread asks for the delay in the audio back end -- halve it, mostly. 2015-06-01 22:08:31 +01:00
Mke Brady e91cddabed Add support for latency offset and buffer length. Update comments. 2015-06-01 21:37:41 +01:00
Mike Brady 6e7358c762 Simplify calculation of buffer timing. Rename dac_buffer_queue_desired_length 2015-05-27 16:36:31 +00:00
Mike Brady 46bf99858a Uses the dac buffer size to offset the timing of the packets by a fixed amount 2015-05-22 17:08:57 +00:00
Mike Brady 5f00910693 Allow the pipe to be stdout, regluate timing better in the player thread. Rough, rough. 2015-05-21 16:12:37 +00:00
Mke Brady c887aafdf0 Very broken player mod. 2015-05-21 09:09:37 +01:00
Mike Brady 511fc7fbce Quieten a debug message. 2015-05-06 17:29:39 +00:00
Mike Brady 460f844824 Add new option to set the desired DAC buffer length. Quieten a few debug messages. 2015-05-06 13:55:58 +00:00
Mike Brady e3f75d85ce respond better to timeouts and print stats message when frames are totally missing. 2015-05-04 17:26:18 +01:00
Mke Brady 75f3f912c7 Make metadata support a compile-time option. Clean up a few definitions. 2015-04-03 13:47:58 +01:00
Mike Brady c2383d4942 Fix flush glitch, add artwork request to metadata set. 2015-03-18 21:02:49 +00:00
Mike Brady a2790fc102 Improve metadata output -- maybe it works reliably now. Add call to get audio parameters from back ends, to be able to give volume metadata. 2015-03-16 11:11:54 +00:00
Mike Brady 606c3fd080 Allow non-blocking option to adding item to pc queue -- necessary for 'resume' and possibly 'flush'. Stop pc_queue locking up (?) 2015-03-14 14:21:17 +00:00
Mke Brady e8be4e4883 Add a 'resume' metadata tag for when the stream is about to play 2015-03-12 23:07:02 +00:00
Mke Brady 60b3a6f7fd A little closer to an XML metadata sender. Still in flux. 2015-03-12 22:42:32 +00:00
Mike Brady edcd6da6b0 Debugging metadata code. The metadata is all a construction zone right now. 2015-03-12 20:46:21 +00:00
Mike Brady f2a02b6f71 Send a few metadata messages -- not really tested. 2015-03-11 22:36:16 +00:00
Mike Brady 391b48f62a Continue to experiement with metadata. Make it a little more resistant to line drop outs and delays, add too-simple reference counting to rtsp messages. 2015-02-27 17:21:00 +00:00
Pieter De Gendt 748a0046ad Fix: memory leak 2015-02-20 10:21:54 +01:00
Mike Brady d5746a9156 Add --password option and add --tolerance option. 2015-01-21 13:10:14 +00:00
Mike Brady 705a0be1e4 Add new optioons --statistics to print out the, um, statistics, and remove them from debug level 1. 2014-11-21 17:39:27 +00:00
Mike Brady ffb37d2b53 Redefine timeout to be an int rather than a 64-bit int. Bump to 2.1.10 2014-11-14 16:53:14 +00:00
Mike Brady 5c7511e0c5 If --with-alsa wasn't used, USE_ALSA wasn't defined (should be false).
during flush, should be moving to the next packet, but was doing a comparison instead.
2014-10-25 15:08:04 +01:00
Mike Brady 043363fb53 Use --with-piddir instead of --with-localstatedir and add disconnect and reconnect to audio output code and options and clean up some unused code 2014-10-23 18:13:42 +01:00
Mike Brady b64d345892 Fix unexpected timout due to race condition, I think, on the timing. 2014-10-20 11:55:24 +01:00
Mke Brady eef08e4975 Change SIGUSR2 to turn on and off reserving the output device. 2014-10-19 16:43:59 +01:00
Mike Brady d4714519b0 Quieten chatty debug messages. 2014-09-27 11:02:48 +01:00
Mike Brady 0b7e95410d Add a little more buffer checking. 2014-09-27 10:35:24 +01:00