OpenAL problem...please help.

Bd964f597b0bcc8603f135ea563d014c
0
kc7zax 101 Dec 12, 2003 at 20:32

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.

6 Replies

Please log in or register to post a reply.

F3ff2088fe22d64396b949f149628107
0
SpreeTree 101 Jan 27, 2004 at 20:26

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!)

Spree

2ae000c7719eb7681967599030adca64
0
TheCell 101 Jan 27, 2004 at 23:11

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?

TheCell

Bd964f597b0bcc8603f135ea563d014c
0
kc7zax 101 Jan 28, 2004 at 06:12

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.

Fdbdc4176840d77fe6a8deca457595ab
0
dk 158 Jan 28, 2004 at 06:15

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.

2ae000c7719eb7681967599030adca64
0
TheCell 101 Jan 28, 2004 at 13:55

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.

TheCell

F7a4a748ecf664f189bb704a660b3573
0
anubis 101 Jan 28, 2004 at 17:52

hmm, shouldn’t you be able to just mount a ram disk device normally with read write access ?