[Openal-devel] oal-soft

Xavier Bouchoux xavier at nadeo.com
Mon Feb 18 07:57:04 PST 2008


>> A few issues though:
>>   - the EFX implementation doesn't work very well (I mean it doesn't
>> crash, it does kind of work for some settings, but for other settings it
>> just makes "scritches" and metallic noises.)
> 
> Which settings? 
for instance:

DopplerFactor		0.69999999
Density			0.18849513
Diffusion		0.87500000
Gain			0.31622776
GainHF			0.43184835
GainLF_EAX		0.81294519
DecayTime		0.15500000
DecayHFRatio		0.62250000
DecayLFRatio_EAX	0.42875001
ReflectionsGain		0.92287308
ReflectionsDelay	0.00999999
LateReverbGain		0.94579828
LateReverbDelay		0.00374999
EchoTime_EAX		0.25000000
EchoDepth_EAX		0.00000000
ModulationTime_EAX	0.25000000
ModulationDepth_EAX	0.00000000
AirAbsorptionGainHF	0.99426007
HFReference_EAX		10268.200
LFReference_EAX		251.00000
RoomRolloffFactor	0.00000000
DecayHFLimit		True

 > Reattaching the effect to the effect slot causes a
 > reallocation of the reverb buffer, which could introduce a quick 
scritch-like
 > noise in a currently-reverberating sound. This could be improved some.

I'm indeed calling
alSource3i(Source, AL_AUXILIARY_SEND_FILTER, EffectSlot, 0, AL_FILTER_NULL);
pretty often (as often as position or volume settings),
but the EffectSlot is always the same value.

And I don't call neither alEffectf() nor alAuxiliaryEffectSloti() unless 
the effects parameter change. (let's say ~10s )

> 
>> the 5.1 surround works, but I'm being told that:
>> - rear and front are inverted
>> - so the center channel doesn't work as the channels are inverted
> 
> How do you mean inverted? Front is rear and rear is front? 

this one.

> Or left/center is 
> right/lfe and right/lfe is left/center? Or both? Windows is pretty explicit 
> about the channel order, so if the output channels are mixed up, I'd think 
> you either have very buggy drivers or have the speakers hooked up wrong.. the 
> latter being quite annoying, especially when they color-code the jacks on the 
> sound card, and use different-but-similar colors on the plugs (argh!).

I'll try myself and I'll tell you. (this is from a report from a tester, 
who uses vista - if that has any importance)

> 
>> - there's a little delay in the sounds, approximateley 0.5sec of lag.
>> (that is between vision and sound, that is not present with other
>> implementations)
> 
> The default buffer is 8192 frames. For 44.1khz playback, the default, that's 
> 0.185759637 seconds (a bit long, but generally a fair compromise for slower 
> CPUs I think, and much less than half of a second).
> 
>> I'll try to investigate a bit more when I have some spare time.
> 
> I look forward to hearing back. :)
> _______________________________________________
> Openal-devel mailing list
> Openal-devel at opensource.creative.com
> http://opensource.creative.com/mailman/listinfo/openal-devel



More information about the Openal-devel mailing list