Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I don't know how else to describe it in the title, sorry.

My sound engine currently works perfectly with listener positioning and sound positioning to create the attentuation and panning effects. At least, for short sounds.

I converted an .mp3 to .wav to test out playing a song from a specific point, but suddenly OpenAL ignores that the sound and the listener are not at the same place and just plays the song at full volume right in the center.

Has anyone ever had this problem before? If so, just what is the problem?

EDIT: If it helps, the song is stereo and the sounds are mono, all at 16 bits per sample.

share|improve this question
up vote 2 down vote accepted

WAV can also be stereo and positioning gets ignored in that case; you'll need to flatten that to mono and then everything should work like you want.

share|improve this answer
That seems to be it, thanks :) – jmegaffin May 13 '12 at 1:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.