diff options
author | J. Alexander Treuman <jat@spatialrift.net> | 2007-06-12 17:58:17 +0000 |
---|---|---|
committer | J. Alexander Treuman <jat@spatialrift.net> | 2007-06-12 17:58:17 +0000 |
commit | 3c5cecb828cdf9618cd4ec14a15f8cc59e313db8 (patch) | |
tree | 3033dc925c58c25effc82faa6cb6f4d471efaa9f /m4/libOggFLAC.m4 | |
parent | bd0620ff72247603a0feef286b03bd98082f69fb (diff) | |
download | mpd-3c5cecb828cdf9618cd4ec14a15f8cc59e313db8.tar.gz mpd-3c5cecb828cdf9618cd4ec14a15f8cc59e313db8.tar.xz mpd-3c5cecb828cdf9618cd4ec14a15f8cc59e313db8.zip |
Redoing remiss's shout patch. This time, just block on open() instead of
pretending to play while we wait for the connection to timeout. This
removes the need for timers, and thus removes the now unnecessary
timer_get_runtime_* function(s) from the timer code.
The changes made compared to the pre-patch shout plugin are:
* Block while connecting, timing out after 2 seconds.
* Close the device, and not just the connection, if play returns -1.
* Remove sd->last_err (it's always assigned before use).
* Some minor cleanups.
git-svn-id: https://svn.musicpd.org/mpd/trunk@6555 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'm4/libOggFLAC.m4')
0 files changed, 0 insertions, 0 deletions