[Openal] alSource3f and alSourcePlay

Ruben Zilibowitz rzilibowitz at yahoo.com.au
Sat Apr 28 20:41:33 PDT 2007


I am playing a looping sound in OpenAL and continuously updating its  
position using alSource3f as it is playing. The sound does not change  
however unless I also put alSourcePlay after every call to  
alSource3f. This causes the sound to become a buzzing sound caused by  
hearing just the first segment in a loop.

How can I achieve a moving sound source correctly in OpenAL? Surely I  
do not have to call alSourcePlay in the main loop?

I am using Mac OS X and linking with the OpenAL framework which comes  
with the system.

Ruben



More information about the Openal mailing list