0
0

I am trying to get my dear little app to not route the audio through the ear-speaker, and to go through the speaker at the bottom of the phone, but am having a problem with using the correct syntax.

I have got this far with setting a session:

[code:3vkspwbt]FMOD_IPHONE_EXTRADRIVERDATA extradriverdata;
memset(&extradriverdata, 0, sizeof(FMOD_IPHONE_EXTRADRIVERDATA));
extradriverdata.sessionCategory = FMOD_IPHONE_SESSIONCATEGORY_AMBIENTSOUND;
extradriverdata.forceSpeakerOutput = true;[/code:3vkspwbt]

Any suggestions FMOD’ers?

  • You must to post comments
0
0

That syntax looks correct to me, you can see an example of this in the iPhone platform specific section of the docs.

Note that overriding the audio route only applies when you are recording.

Perhaps linking with the logging version of FMOD and looking at the TTY output may yield some useful information.

  • You must to post comments
0
0

Thanks, yeah I thought it was correct. Perhaps I have some fundamental approach issue.

I will report back what I find.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.