Re: Clean up memory after playing sound

Chris Robinson <[email protected]>
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
On Sunday, May 30, 2010 2:43:53 am Carsten Fuchs wrote:
> Hi Chris,
> 
> Am 30.05.2010 10:31, schrieb Chris Robinson:
> > One buffer can be used by multiple sources at the same time,
> 
> Is this also true for sources of type AL_STREAMING?

Yes, though it's not typically done. Streaming sources usually have their 
buffers unqueued, refilled, and requeued while they play, which makes it 
difficult to share them with multiple sources. You can't call alBufferData on 
a buffer that is attached or queued to a source, and it would be difficult to 
determine if the buffer you just unqueued is in use by another source or not.
_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.