Output two different audio to two audio devices from same Unity3d game

(Sund) #1

I plan to develop two player game. In this game, there are two different audio. These audio should be played separately using two different audio devices simulatneously. The computer may be connected with two audio devices - one headset and another headset using USB sound card. Is it possible to play to two different audio output at same time from same game application. Please help

(Cameron Baron) #2

You will need multiple FMOD System instances for this.

You’ll need to modify RuntimeManager.cs to startup and manage two systems each connected to different drivers (see the docs for setDriver function). Because FMOD systems are isolated from each other you’ll have to load data twice, and keep the synchronised manually if you want the same event playing in both.

(Christian Berglönn) #3

Did you manage to solve this, Sund?

If that’s the case, would you care to explain how you did?

I’m working on a similar project and would love to have the same feature working.