[Openal] Problems with streaming

Jeremy Henry jeremy_h at hotmail.com
Mon Jun 19 13:38:53 PDT 2006


Everything was great with the code I showed it was in fact a game loop 
problem where Update() was only getting called once the music had stopped 
playing.  I am not quite sure what exactly caused the loop of the last 
buffer but that has been fixed as well.  A special thanks to Dan for his 
help.


>From: Daniel PEACOCK <dpeacock at creativelabs.com>
>To: openal at opensource.creative.com
>Subject: Re: [Openal] Problems with streaming
>Date: Fri, 16 Jun 2006 14:37:46 -0700
>
>
>
>
>
>Hi Jeremy,
>
>I didn't see any obvious problems in the code ... except that you are not
>checking for buffer starvation (i.e you are assuming the Source always has
>enough data queued on it).
>
>What OS are you using ?  And if appropriate, what OpenAL device ?
>
>I'm not sure what you mean by "gets stuck on playing the second buffer" ...
>do you mean that you don't hear the 2nd buffer, or the 2nd buffer is never
>processed, or something different ?
>
>Thanks,
>
>Dan
>
>Notice
>The information in this message is confidential and may be legally
>privileged.  It is intended solely for the addressee.  Access to this
>message by anyone else is unauthorized.  If you are not the intended
>recipient,  any disclosure,  copying or distribution of the message,  or
>any action taken by you in reliance on it,  is prohibited and may be
>unlawful.  If you have received this message in error,  please delete it
>and contact the sender immediately.  Thank you.
>
>
>
>
>              "Jeremy Henry"
>              <jeremy_h at hotmail
>              .com>                                                      To
>              Sent by:                  openal at opensource.creative.com
>              openal-bounces at op                                          cc
>              ensource.creative
>              .com                                                  Subject
>                                        [Openal] Problems with streaming
>
>              06/16/2006 10:32
>              AM
>
>
>
>
>
>
>
>I have the code compiling and running without crash the music even sort of
>plays.  The problem is that the first buffer that is loaded plays and then
>it gets stuck on playing the second buffer.  Here is a link to a post a
>made
>for easier viewing of the code.  Also is there a channel in irc that I
>could
>go for real-time help?
>Thanks,
>Jeremy
>
>http://www.devmaster.net/forums/showpost.php?p=34918&postcount=74
>
>
>_______________________________________________
>Openal mailing list
>Openal at opensource.creative.com
>http://opensource.creative.com/mailman/listinfo/openal
>
>ForwardSourceID:NT00032DFE
>
>_______________________________________________
>Openal mailing list
>Openal at opensource.creative.com
>http://opensource.creative.com/mailman/listinfo/openal




More information about the Openal mailing list