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:
parent
146afb4a19
commit
010afc6baf
1 changed files with 3 additions and 2 deletions
|
|
@ -350,13 +350,14 @@ public:
|
|||
{
|
||||
isRunning = false;
|
||||
|
||||
setAudioSessionActive (false);
|
||||
|
||||
if (audioUnit != 0)
|
||||
{
|
||||
AudioOutputUnitStart (audioUnit);
|
||||
AudioComponentInstanceDispose (audioUnit);
|
||||
audioUnit = 0;
|
||||
}
|
||||
|
||||
setAudioSessionActive (false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue