[openal] Please help

Chris Robinson chris.kcat at gmail.com
Sun May 28 03:26:59 EDT 2017


On 05/27/2017 01:25 AM, Alan Stepney wrote:
> I need to change the tempo of the idle sound, i.e. the rate at which the wav
> is repeated.

You can speed up and slow down a sound by altering the source's AL_PITCH 
property. The default is 1.0 which means normal speed, less than 1 is 
slower speed, and greater than 1 is faster. With AL_LOOPING set to 
AL_TRUE, that means it'll loop slower or faster too.


More information about the openal mailing list