Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't flag capture device as no-longer-started until we've stopped al…
…l i/o.

Audio Hijack Pro (or maybe bad luck unrelated to it) appears to make the
capture callback pump one more time here, so the callback's assertion that
checks this flag needs it to remain sane.
  • Loading branch information
icculus committed Dec 4, 2010
1 parent 7dcbff8 commit 6fef11c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osx/alContext.c
Expand Up @@ -644,8 +644,8 @@ ALCAPI ALvoid ALCAPIENTRY alcCaptureStop(ALCdevice *device)
__alcSetError(dev, ALC_INVALID_DEVICE);
else if (dev->capture.started)
{
dev->capture.started = AL_FALSE;
__alcStopCaptureIO(dev);
dev->capture.started = AL_FALSE;
} // else if
} // alcCaptureStart

Expand Down

0 comments on commit 6fef11c

Please sign in to comment.