mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
Return abort instead of complete to stop playback immediately.
This commit is contained in:
parent
10309ce888
commit
96be500dd1
@ -111,7 +111,7 @@ int portAudioStreamCallback(
|
||||
if (self->state == PortAudioOut::StatePaused ||
|
||||
self->state == PortAudioOut::StateStopped)
|
||||
{
|
||||
return paComplete;
|
||||
return paAbort;
|
||||
}
|
||||
|
||||
auto context = self->buffers.front();
|
||||
|
Loading…
Reference in New Issue
Block a user