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:
memset(&extradriverdata, 0, sizeof(FMOD_IPHONE_EXTRADRIVERDATA));
extradriverdata.sessionCategory = FMOD_IPHONE_SESSIONCATEGORY_AMBIENTSOUND;
extradriverdata.forceSpeakerOutput = true;[/code:3vkspwbt]
Any suggestions FMOD’ers?
- tdc asked 9 years ago
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.
Please login first to submit.