[Openal] Switched from OpenAL to OpenAL Soft.. lost sound
effects. 2
Jan Boon
kaetemi at gmail.com
Tue Oct 14 02:44:29 PDT 2008
Hi,
Are you loading that .wav file when you play it or is it loaded it in
advance?
Also, is it a stereo sound? Afaik, only mono sounds are put in space, and
multichannel/stereo is played directly at normal volume without change.
- Kaetemi
On Tue, Oct 14, 2008 at 11:24 AM, bencelot <bencelot at gmail.com> wrote:
>
> 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.
>
> _______________________________________________
> Openal mailing list
> Openal at opensource.creative.com
> http://opensource.creative.com/mailman/listinfo/openal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20081014/a8fc86c8/attachment.html
More information about the Openal
mailing list