0
0

Hello,

I’m trying to find out how I can route more than 1 audio output from FMOD to Core Audio, if that is even possible.

Ultimately what I’m trying to accomplish is use iPhone’s headphone out for one audio output and lineout (USB AV Cable) for another. Core Audio is probably beyond FMOD’s support, but I was wondering if FMOD is capable of routing 2 unique outputs (i.e. master group and another channel group) in the first place.

Thanks.

  • You must to post comments
0
0

Controlling where the output goes is beyond the scope of what FMOD can provide. The iPhone is designed with the idea that there is one output location. The iPhone OS handles the switching depending on what the user has attached to the device. i.e. it uses the main speaker by default, then if head phones are plugged in it redirects to the head phones, then if something is added by the dock then that becomes the output etc.

The only override provided by the iPhone SDK is the ability to redirect output from the receiver speaker to the main speaker when recording and playing at once. This still maintains the idea of one output location though.

For academic information, FMOD can interface with two outputs on some platforms by having multiple system objects. However this is not possible on iPhone due to the nature of the devices routing and for other reasons we only permit one system object on the iPhone.

  • You must to post comments
0
0

Mathew,

Thanks for the detailed info.

Another thing we’re looking into is use External Accessory API to communicate with a third party device. If I utilise the DSP callback in FMOD, I should be able to send the audio digitally, correct?

  • You must to post comments
0
0

Yes, if you can extract audio data from an attached device you can feed it to FMOD via a DSP callback.

  • You must to post comments
0
0

Is it possible to route a sound to the receive speaker even if i dont record?

  • You must to post comments
0
0

If you init FMOD using the "play and record" audio session specified via FMOD_IPHONE_EXTRADRIVERDATA, audio will by default be routed to the receiver. Even if you don’t record anything, however this is for all audio output, not on a per channel basis.

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.