[Openal] Switched from OpenAL to OpenAL Soft.. lost sound effects. 2

Daniel PEACOCK dpeacock at creativelabs.com
Tue Oct 14 02:49:51 PDT 2008





Hi Ben,

How are you configuring OpenAL for distance attenuation?  e.g. What
distance model are you selecting?   Are you setting appropriate Reference
Distance, Roll Off, and Position parameters for each Source?   Are you
using EAX or EFX extensions?

Dan
Creative Labs (UK) Ltd.

Notice
The information in this message is confidential and may be legally
privileged.  It is intended solely for the addressee.  Access to this
message by anyone else is unauthorized.  If you are not the intended
recipient,  any disclosure,  copying or distribution of the message,  or
any action taken by you in reliance on it,  is prohibited and may be
unlawful.  If you have received this message in error,  please delete it
and contact the sender immediately.  Thank you.




                                                                           
             bencelot                                                      
             <bencelot at gmail.c                                             
             om>                                                        To 
             Sent by:                  openal at opensource.creative.com      
             openal-bounces at op                                          cc 
             ensource.creative                                             
             .com                                                  Subject 
                                       [Openal] Switched from OpenAL to    
                                       OpenAL Soft.. lost sound effects. 2 
             10/14/2008 10:24                                              
             AM                                                            
                                                                           
                                                                           
                                                                           
                                                                           





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

ForwardSourceID:NT00065F8E



More information about the Openal mailing list