OpenAL doesn't work now?

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

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.

did you call EnableOpenAL? ;)

It still doesn't work.

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

Works for me : both zip and the code above.

BMX v1.26?

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.

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?

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.

Still works. I no longer have an openal32.dll in my bmax lib folder. Would that make a idfference?

no

Strange. I updated my sound driver and it works. But my old applications worked before.

Oh well.

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?

XP

I don't even know what that dll is.

haha OK, it came with mine but it's 400K so it's great to know I can cut it out!