Streaming vs. Buffererd mode
 
 
 
PST User Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Streaming vs. Buffererd mode Expand / Collapse
Author
Message
Posted 9/11/2008 3:35:11 PM
Forum MVP

Forum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVP

Group: Forum Members
Last Login: Today @ 3:46:25 PM
Posts: 336, Visits: 894
SoundOut objects in EP2 now have a new property for Buffer Mode, which can be set to Buffered or Streaming (the default seems to be Streaming). The EP2 E-Basic Help has not been updated to explain this feature, and I have not found the explanation elsewhere (searching the PST Knowledge Base only reveals that this feature is implemented via the .SoundMode property of the SoundBuffer Object).

So, could someone please explain the advantages and disadvantages of Streaming vs. Buffered mode, and how we decide which mode to use? And if Streaming is always better than Buffered, why do we have the choice in the first place?

Thanks,
-- David McFarlane, Professional Faultfinder
Post #2089
Posted 9/12/2008 9:33:05 AM
Forum MVP

Forum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVP

Group: Administrators
Last Login: Today @ 8:53:29 AM
Posts: 577, Visits: 1,255
Buffered provides one fixed buffer.  If the sound is larger than this buffer then you get an error.  This is the behavior in EP 1.x.  Streaming permits for the ability for longer sounds to be streamed into the buffer while they play.  Buffered remains primarily for backward type compatability.  There is really no method that is recommended over the other at this time with the exception that streaming is required for longer passages.
Post #2096
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -5:00, Time now is 4:09pm

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.078. 11 queries. Compression Disabled.