[Openal] Exploding Filters
Colin Walder
cwalder at frd.co.uk
Fri Aug 25 01:02:26 PDT 2006
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
More information about the Openal
mailing list