1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed a problem with iOS audio device shutdown

This commit is contained in:
jules 2016-01-20 06:27:51 -08:00
parent 146afb4a19
commit 010afc6baf

View file

@ -350,13 +350,14 @@ public:
{
isRunning = false;
setAudioSessionActive (false);
if (audioUnit != 0)
{
AudioOutputUnitStart (audioUnit);
AudioComponentInstanceDispose (audioUnit);
audioUnit = 0;
}
setAudioSessionActive (false);
}
}