Test Environment : iOS4.2.1, FMOD 4.32.06
I only use FMOD_IPhone_RestoreAudioSession in applicationWillEnterForeground.
- (void)applicationWillEnterForeground:(UIApplication *)application
but I meet old my issue again.
"After phone call > Decline button > Game Sound can not hear. "
Anyone have solution for this issue?
- Dreamknight asked 8 years ago
Initially I am reluctant to put this change into stable versions as it is a little risky and only required because of issues with the iOS SDK. But I can see there really isn’t any other option, so our next release (probably next week).
EDIT: This fix can only be made available for versions 4.32 and newer. Due to architectural differences previous stable branches cannot be patched.
Test Environment : iPhone3GS(iOS4.2.1), FMOD 4.32.07
I delete all code of <calling FMOD_IPhone_RestoreAudioSession>.
because of "FMOD Ex API 4.32 (Stable branch) release notes."
[i:3k2ryktc]- iPhone – Fixed audio not coming back after screen lock and when background audio is interrupted with iOS 4.2. RestoreAudioSession function is no longer required.[/i:3k2ryktc]
"Phone Call > Decline button or Accept button both > No Sound" error have been remained yet.
Is not this version for fixing this error ?
When will you fix it?
I have just tested here (3GS iOS 4.2) both accepting and declining calls, in both cases (tested with different audio session categories) result in the audio resuming.
So I am unable to reproduce the problem you are seeing, I know I’ve asked this before but could you post your latest TTY output when it doesn’t work, since much work has been done to resolve these issues since then.
Also can you confirm you get this problem with an unmodified playstream example?
Yes, that would do that.
I [b:cvu8z18h]highly[/b:cvu8z18h] recommend that no one use iPhone SDK audio functions, some of them can interfere with the correct operation of FMOD. I’ll see if I can put a a hard error into System::init to prevent people from making that mistake in the future.
I’m glad you have your problem resolved.
Please login first to submit.