Unity 5.1 audio issues (no sound in back channels)

Posted by N0xus on Game Development See other posts from Game Development or by N0xus
Published on 2012-10-10T10:22:16Z Indexed on 2012/10/10 15:55 UTC
Read the original article Hit count: 322

Filed under:
|

I've trying to bring in surround sound audio into my project. I've set my computer up to run in 5.1 and when I play a 6 channel audio through windows media player (it's a test audio that does left speaker, right speaker etc) it works fine.

However, when I run it through Unity, all I get is the front 3 channels. I've set it in the Edit -> project settings -> audio to be 5.1 in there. I even set it in code with following:

void Start() { AudioSettings.speakerMode = AudioSpeakerMode.Mode5point1; } How ever, when I run a debug line of:

print ( AudioSettings.driverCaps); It tells me that Unity is only playing in stereo. Is there something I'm still not doing?

I should also add I've ran 10 different tests using the 3D audio pan and spread options. I've set both to either being fully off, half way on and full. Still the same results.

© Game Development or respective owner

Related posts about unity

Related posts about audio