[Openal] Re: Exploding Filters

Daniel PEACOCK dpeacock at creativelabs.com
Fri Aug 25 08:49:56 PDT 2006





Hi Col,

One other thought ... when you retrieve the pointers to the EFX functions
from the OpenAL library, are you specifiying the correct calling convention
(__cdecl) when casting the return from alGetProcAddress ?   The efx.h
includes typedefs for pointers to each of the functions if you want to use
those.

Dan

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.



                                                                           
             Daniel PEACOCK                                                
             <dpeacock at creativ                                             
             elabs.com>                                                 To 
             Sent by:                  openal at opensource.creative.com      
             openal-bounces at op                                          cc 
             ensource.creative                                             
             .com                                                  Subject 
                                       [Openal] Re: Exploding Filters      
                                                                           
             08/25/2006 08:31                                              
             AM                                                            
                                                                           
                                                                           
                                                                           








Hi Col,

Thanks for mail.  Unfortunately I'm unable to reproduce the problem here -
those calls seem to work fine on all 3 different devices (X-Fi, Generic
Hardware, and Generic Software) on my machine.

The latest Creative AL 1.1 SDK includes a sample application called
EFXFilter that makes those calls - can you try running that and seeing if
that crashes for you too ?  If it does, could you please make sure you have
the latest drivers installed ?

Thanks,

Dan
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.




             Colin Walder
             <cwalder at frd.co.u
             k>                                                         To
                                       openal at opensource.creative.com
             08/25/2006 01:02                                           cc
             AM                        dpeacock at creativelabs.com
                                                                   Subject
                                       Exploding Filters










I'm using the x-fi device on my computer but it also happens on generic
software on another pc we tested it on. The filter is created and set to
AL_FILTER_LOWPASS successfully and if we use alFilteri to set the
AL_LOWPASS_GAIN or AL_LOWPASS_GAINHF, the filter seems to work (although
obviously the input is clamped to either 1 or 0). The crash only happens
using alFilterf in the following lines of code

alFilterf(sfx, AL_LOWPASS_GAIN, 1.0f);
alFilterf(sfx, AL_LOWPASS_GAINHF, 0.5f);

Where sfx is the filter.

I'm pretty sure the steps leading up to this are ok as it works ok for
alFilteri and when we look in memory the value of sfx in memory is the
same as when it is created (in this case 1) and is tested (successfully)
with alIsFilter just before these calls are made.

Cheers,


Col


ForwardSourceID:NT00035F7E

_______________________________________________
Openal mailing list
Openal at opensource.creative.com
http://opensource.creative.com/mailman/listinfo/openal

ForwardSourceID:NT00035FAE



More information about the Openal mailing list