0
0

Hi, I have scenario like this: Sound manager handles everything concerning music, like adding songs to the playlist etc. I have a StartJukebox-method, which calls function ChangeMusic. ChangeMusic is also a stream end callback function. ChangeMusic randomly loads the song from the list, and sets the stream’s end callback function as ChangeMusic. Like this the jukebox loops through the given music files. But what if one of the files is invalid? The ChangeMusic fails, but how can the sound manager catch it? Where does the stream end callback functions (ChangeMusic) return value go?

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.