diff options
Diffstat (limited to 'src/audioOutputs/audioOutput_osx.c')
-rw-r--r-- | src/audioOutputs/audioOutput_osx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audioOutputs/audioOutput_osx.c b/src/audioOutputs/audioOutput_osx.c index 00beaef33..191edebd5 100644 --- a/src/audioOutputs/audioOutput_osx.c +++ b/src/audioOutputs/audioOutput_osx.c @@ -291,8 +291,9 @@ static int osx_play(AudioOutput * audioOutput, char * playChunk, int size) { //DEBUG("osx_play: enter\n"); if(!od->started) { + int err; od->started = 1; - int err = AudioOutputUnitStart(od->au); + err = AudioOutputUnitStart(od->au); if(err) { ERROR("unable to start audio output: %i\n", err); return -1; |