diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2005-03-17 00:56:31 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2005-03-17 00:56:31 +0000 |
commit | c1057f0c347f80579461d6a06f645e2bb1c7b673 (patch) | |
tree | b3d05ad43b9e521a9712f8928661a5ca40a91596 /src/audioOutputs | |
parent | 70865740fb3f5557ae943ef3571cfc96573f032e (diff) | |
download | mpd-c1057f0c347f80579461d6a06f645e2bb1c7b673.tar.gz mpd-c1057f0c347f80579461d6a06f645e2bb1c7b673.tar.xz mpd-c1057f0c347f80579461d6a06f645e2bb1c7b673.zip |
slight tweak of avuton's idea of causing an error when no audio output's found
git-svn-id: https://svn.musicpd.org/mpd/trunk@3093 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/audioOutputs/audioOutput_osx.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/audioOutputs/audioOutput_osx.c b/src/audioOutputs/audioOutput_osx.c index c8760c3c1..03c3cfc67 100644 --- a/src/audioOutputs/audioOutput_osx.c +++ b/src/audioOutputs/audioOutput_osx.c @@ -101,14 +101,9 @@ static void osx_dropBufferedAudio(AudioOutput * audioOutput) { OsxData * od = (OsxData *)audioOutput->data; pthread_mutex_lock(&od->mutex); - od->go = 0; od->len = 0; + od->go = 0; pthread_mutex_unlock(&od->mutex); - - /*if(od->started) { - AudioOutputUnitStop(od->au); - od->started = 0; - }*/ } static void osx_closeDevice(AudioOutput * audioOutput) { |