Jump to content
  • Advertisement
Sign in to follow this  

[OpenAL] Mono files a lot quieter on SOME systems

This topic is 3557 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm using OpenAL to stream ogg files to play music, voice dialog etc. On my system the volume is the same for mono or stereo, but on SOME systems (not all the same sound card/chip), the mono ogg file is barely audible. Stereo ogg files play back fine. Turning the mono file into a stereo file with the same content in each channel resultes in normal volume. I'm doubtful that the ogg aspect has anything to do with it. I make the following call for the source: alSourcei(mSource, AL_SOURCE_RELATIVE, true); and also set position, velocity to 0. I'm pretty sure this sets up the source so that it will play at constant volume regardless of what the listener position is. I wonder if I'm missing something. The OpenAL spec says that stereo sources are played without "3D spatialization", and maybe that's why the volume is always good for them. I wish there was a call that guaranteed the same thing for a mono source. I'm not 100% sure that setting AL_SOURCE_RELATIVE to true guarantees that. If anyone has encountered the same sort of issue I'd sure like to hear about it.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!