[Openal] Switched from OpenAL to OpenAL Soft.. lost sound effects. 2
bencelot
bencelot at gmail.com
Tue Oct 14 02:24:11 PDT 2008
Hey all!
OpenAL was working perfectly on my XP computer. But when I tested it on
Vista I noticed that the distance attenuation wasn't working. I soon found
this was because Vista doesn't support hardware anymore (or something along
those lines).. so I decided I'd switch to OpenAL soft, hoping that'd solve
the problem.
However, after building it and replacing the openal32.dll, I'm now not
getting distance attenuation on either XP OR Vista. I haven't changed any
code.. all I've done is replaced the openal32.dll (and removed wrap_oal.dll,
because it's no longer needed). I was hoping that with openal soft there
wouldn't be any hardware depenancy issues and the problem would be solved. I
can hear sounds with the openal soft dll.. just they're in stereo at full
volume with no effects.
Does anyone have any ideas as to what the problem might be?
P.S. I also noticed that when I fire the shotgun in my game.. it freezes for
a split second. But when I was using the old openal, it didn't. Obviously
it's to do with playing the shotgun.wav sound file. The weird thing is.. no
other sounds freeze it.. just this one file. I'll just replace the file..
but I'd be interested to know why one .wav would freeze the game for a
second, while another wav plays perfectly well. (all sounds in my game are
.wav and are loaded in with the alut function alutLoadWAVFile).
Thanks!
Ben.
--
View this message in context: http://www.nabble.com/Switched-from-OpenAL-to-OpenAL-Soft..-lost-sound-effects.-2-tp19965590p19965590.html
Sent from the OpenAL - User mailing list archive at Nabble.com.
More information about the Openal
mailing list