[Openal] Reseting a source

Xavier Bouchoux xavier at nadeo.com
Thu Aug 30 12:00:37 PDT 2007


hi,

I have a pool of sources, which I use and reuse, depending on the 
ressource manager needs.

But it occured to me that when I was reusing a source, I wasn't quite 
sure of it's attributes.
So I have to reset all the attributes (or at leat the one I modify in my 
code) to the default values.

So I'm wondering if there such a "alSourceResetToDefaults()" function or 
some standard way to do it - to be sure not to miss any attribute?
(or if not, this is a suggestion for a revision of the API!)

xavier.



More information about the Openal mailing list