Re: question about static & streaming source

Chris Robinson <[email protected]>
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
On Thursday, September 30, 2010 3:00:47 am uray meiviar wrote:
> I think that static source could be emulated by streaming source, I just
> want to make thing simple to make all source is streaming mode in my audio
> library, my question is: is static source (AL_STATIC) has performance
> benefit compared to (AL_STREAMING) ?

There can be a performance benefit to using a static source compared to a 
streaming one, for certain implementations. A streaming source will likely be 
streamed in real-time to the mixer/hardware, to account for the possibility of 
any amount of new data being queued at any time, while a static source can be 
loaded once and played directly.

Additionally, up-coming extensions like AL_EXT_loop_points will only work on 
static sources.
_______________________________________________
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.