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