Skip to content
Discussion options

You must be logged in to vote

Stupid question: why would you use the AudioPlayer at all and not e.g. a much simpler FileLoop or even a MemoryStream ?
If you ignore the wav header you can read from from the wav file directly.

If you really want to play multiple files in sequence, did you try to set the timout for moving to the next file to 0

ps. Don't assume that you need to write the same amunt on index 1 like on index 0: but query the system for the filled buffer size of index 0 and index 1 and just provide the difference, to make sure that if there was a difference, things are equalling out...

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@pschatzmann
Comment options

@Nawor3565
Comment options

Answer selected by pschatzmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2157 on September 08, 2025 20:09.