0
0

Test Environment : iOS4.2.1, FMOD 4.32.06

I only use FMOD_IPhone_RestoreAudioSession in applicationWillEnterForeground.

  • (void)applicationWillEnterForeground:(UIApplication *)application
    {
    FMOD_IPhone_RestoreAudioSession();
    }

but I meet old my issue again.
"After phone call > Decline button > Game Sound can not hear. "

Anyone have solution for this issue?

  • You must to post comments
0
0

I would recommend waiting for our next development branch release, 4.33.07 and try that. I have done some magic to solve audio restoration problems automatically. So you won’t need RestoreAudioSession at all any more.

  • You must to post comments
0
0

when we have stable version for fixed this issue?

  • You must to post comments
0
0

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.

  • You must to post comments
0
0

Test Environment : iPhone3GS(iOS4.2.1), FMOD 4.32.07

Before Testing,
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?

  • You must to post comments
0
0

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?

  • You must to post comments
0
0

I solve this error.

<solution>
remove code "AudioSessionInitialize(NULL, NULL, NULL, self );"

> I guess that this code steal FMOD’s job on interruption.

Thank you for help.

We will test on other iOS.

  • You must to post comments
0
0

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.

  • You must to post comments
Showing 7 results
Your Answer

Please first to submit.