Bug in OALSource::RampUp method of Apple OSX OpenAL implementation

View: New views
1 Messages — Rating Filter:   Alert me  

Bug in OALSource::RampUp method of Apple OSX OpenAL implementation

by Marc Vaillant-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm not sure if there is a good reason for this but there is a return
statement in the first line of OALSource::RampUp (line 2832 of
oalSource.cpp).  So, this method does nothing, and as a result clicking
is clearly audible when modulating from off to on.  If I comment that
return statement, the method appears to work properly (similar to
OALSource::RampDown) and clicking is eliminated.

I'm developing an iphone app which has repeating on/off modulation, so
this is a problem for me.  AFIK, no one but Apple can compile the iphone
target for OpenAL so I can't fix it for my application.  If
there is not a good reason why that return statement is there, it would
be great to get that fixed.

Also, the proper (as in optimal for minimizing duration of ramp as well
as bandwidth) way to ramp up/down is with a 3-5ms gaussian instead of a
linear function.  I'll probably submit a patch proposal for this to the
list at some point.

Thanks,
Marc

_______________________________________________
Openal-devel mailing list
Openal-devel@...
http://opensource.creative.com/mailman/listinfo/openal-devel