mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
iOS audio interruption fix.
This commit is contained in:
parent
2816b2883a
commit
69e885dcd4
1 changed files with 1 additions and 5 deletions
|
|
@ -376,8 +376,7 @@ private:
|
|||
{
|
||||
if (interruptionType == kAudioSessionBeginInterruption)
|
||||
{
|
||||
isRunning = false;
|
||||
AudioOutputUnitStop (audioUnit);
|
||||
close();
|
||||
|
||||
{
|
||||
const ScopedLock sl (callbackLock);
|
||||
|
|
@ -385,9 +384,6 @@ private:
|
|||
if (callback != nullptr)
|
||||
callback->audioDeviceError ("iOS audio session interruption");
|
||||
}
|
||||
|
||||
isRunning = true;
|
||||
routingChanged (nullptr);
|
||||
}
|
||||
|
||||
if (interruptionType == kAudioSessionEndInterruption)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue