mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-20 01:14:20 +00:00
IAA: Call AudioIODeviceCallback::audioDeviceStopped() when IAA is disconnected
This commit is contained in:
parent
6275af3588
commit
de181762d2
1 changed files with 3 additions and 0 deletions
|
|
@ -819,6 +819,9 @@ struct iOSAudioIODevice::Pimpl : public AudioPlayHead,
|
|||
{
|
||||
AudioOutputUnitStop (audioUnit);
|
||||
setAudioSessionActive (false);
|
||||
|
||||
if (callback != nullptr)
|
||||
callback->audioDeviceStopped();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue