i have some problems, when i play multichannel ogg vorbis files with FMOD (C#). It only plays (0,0,0) (The Front Speakers) ignoring the (Back speakers). I did red the documentation well, but i don’t know what is wrong. i just want to play an ogg vorbis file, which goes throw all speakers. What is the best way to play this files? Do i need any decoder for DirectSound? I tested this files with other libraries and it works, so what I’m doing wrong?
- yrod asked 10 years ago
There are two things you need to check:
That you can play a normal mono sound in the rear speakers. Create the channel and use [b:2p27o9ug]setSpeakerMix [/b:2p27o9ug]to force it to play in one of the rear speakers. If you cannot hear it, your speakers are not set up correct.
That the multi channel file is actually multi channel. Use the [b:2p27o9ug]sound->getFormat()[/b:2p27o9ug] method to retrieve the number of channels seen in the file. Or you can open the ogg file with Audacity (free, download at [url:2p27o9ug]http://audacity.sourceforge.net/[/url:2p27o9ug]) and just verify that it has more than 2 channels.
I’m using [b:2p27o9ug]setSpeakerMix[/b:2p27o9ug] to control what category of sounds that go where and how much LFE they get. For example, I don’t want stereo sounds to go into back speakers, so I mute them there.
[quote="jornj":38rsyptb]We’re using multichannel OGG files.
Have you made sure your speaker setup is not configured as stereo?
yes, I’m sure i did it. i also tested with BASS.NET and "Audio DJ Studio for .NET", it just play well. I’d changed sound cards, installed different versions of DirectX, i tried oder PCs, it still the same. The files are recorded in a professional studio, so they are really good. please tell me how you did it.
- yrod answered 10 years ago
Please login first to submit.