[Openal] Is there any function that clear all source attributes and set as default?

Jason Daly jdaly at ist.ucf.edu
Thu May 10 08:22:55 PDT 2007


steve wrote:
> I have been working on reuse the OpenAL sources. It's difficult for me to
> clear the source parameter one by one. I have to delete and generate sources
> again. So I wonder if there is one function that clears all parameters.
> Otherwise, I have regenerate sources.
>   

There isn't any call to do what you want.  Typically, I just create a 
function to reset all the parameters manually.  Deleting and 
regenerating sources would work as well, but there may be extra overhead 
for this.

-- 

--"J"

"I'm a castaway stranded in a desolate land,
 I can see the footprints in the virtual sand."
	--Neil Peart



More information about the Openal mailing list