Okay. I have been using the tutorials here to learn OpenAL. Everything was going fine until I tried to implement it with my Graphics code. Now, whenever I try to change the orientation of the listener after the initial setting of the property then the sound suddenly stops playing.
Also, I think that might have to do with this somehow. My sounds aren't 3D at all. They always seem like they are relative.
I hope someone can help me with this. Thanks.
Apparently there is a problem with the latest .dll's in the OpenAL SDK install, which has been fixed, but not yet released. This might be your problem (I'm hoping its also causing my problems too!)
Have you verified that the sound you use is not dual channel(Stereo)? Stereo sound cannot be rendered in a 3d environment. Even if you change the source or listener position, you will still get the same effect. For this, you absolutely need mono sound file. Try changing the sound file for one that you know is mono. If it still doesn't work, might you post your source?
Yes. I looked and all my sound files are mono. I just don't know what is the problem. Thanks for the advice. Anything else you might know will also be useful.
TheCell: nice to see you back. It would nice if you could hang in here from time to time to help out in answering OpenAL related questions, since recently, we've been getting a couple of questions about it.
I intend to hang out from time to time in the forums, but right now, I have a very bad hardware karma. Both my laptop's hd and my desktop hd failed, modem fried(How can it fry in the first place?) and I'm rather computerless(Anyone know how to install things on the ramdisk device with a gentoo livecd?). School just started, and required books are very expensive, so I might not have computer at all for at least a month, maybe two. I'll try to use school lab, but access is very restricted and limited. But if I can find a lab which has a C++ compiler(damn VB and C#), I'll try to test codes that might get posted.
hmm, shouldn't you be able to just mount a ram disk device normally with read write access ?