OpenAL doesn't work now?

BlitzMax Forums/BlitzMax Programming/OpenAL doesn't work now?

JoshK(Posted 2007) [#1]
The sound is only audible when the first line is commented out:
SetAudioDriver "OpenAL"
PlaySound LoadSound("sound/footsteps/stone1.wav")
Delay 3000

Yes, OpenAL is installed.

I have a soundblaster. Everything worked fine a month ago.


REDi(Posted 2007) [#2]
did you call EnableOpenAL? ;)


JoshK(Posted 2007) [#3]
It still doesn't work.

Here is a demo:
http://www.leadwerks.com/post/soundbug.zip


tonyg(Posted 2007) [#4]
Works for me : both zip and the code above.


JoshK(Posted 2007) [#5]
BMX v1.26?


Grey Alien(Posted 2007) [#6]
on my PC (with OpenAL installed) I get two 1s in the output display and I hear a sound.

Maybe your open AL installation has gone weird. Try copying aopenal32.dll and wrap_oal.dll into the same folder as the exe and it should work.

I've got 1.26 and the special OpenAL module fix which Mark sent me to test. However, it fixed a different problem, not your one.


tonyg(Posted 2007) [#7]
Yep and fully synched. I use the default IDE (sure that doesn't matter) and have an SB Audigy. Are there different versions of OpenAL?


JoshK(Posted 2007) [#8]
You only need OpenAL32.dll. I don't know what those other things are.

I re-uploaded the zip with an EXE and dll. Same link. Please try my EXE and see what it does.


tonyg(Posted 2007) [#9]
Still works. I no longer have an openal32.dll in my bmax lib folder. Would that make a idfference?


JoshK(Posted 2007) [#10]
no


JoshK(Posted 2007) [#11]
Strange. I updated my sound driver and it works. But my old applications worked before.

Oh well.


Grey Alien(Posted 2007) [#12]
what OS are you using please as it may be worth noting you had OpenAL problems under it.

So I don't need wrap_oal.dll then?


JoshK(Posted 2007) [#13]
XP

I don't even know what that dll is.


Grey Alien(Posted 2007) [#14]
haha OK, it came with mine but it's 400K so it's great to know I can cut it out!