Play Sound with Unknown Length?


(John) #1

How do you handle a sound without knowing what it’s length is until it reaches the end? Is there a way to handle such a case?


(Brett Paterson) #2

Is this a custom sound? You can specify (unsigned int)-1 for the length if it is a stream, as is the case with internet streams.