MaxMod Streaming ChannelPlaying() incorrect...

BlitzMax Forums/BlitzMax Programming/MaxMod Streaming ChannelPlaying() incorrect...

Arowx(Posted 2008) [#1]
MaxMod Streamed music returns an incorrect value when the ChannelPlaying() method is called e.g.



What should happen here is tune1 should be streamed and play for a second then tune1 should be stopped and tune2 should play.

What happens tune1 playes and the program prints "Music not playing - Issue"

When ChannelPlaying() is called it returns false when the first track can be heard playing?


Arowx(Posted 2008) [#2]
Played around with the delay on this and it would appear that a delay of over 500ms on my machine sometimes returns a false negative from ChannelPlaying() when streaming in an ogg music track. And always returns a false negative when the delay is over 750 ms!

Has anyone else encountered this problem?


Arowx(Posted 2008) [#3]
OK simple work around for me I just skip the first updates call to ChannelPlaying and it works???


REDi(Posted 2008) [#4]
oh sorry mate, must've missed this one yesterday, I'll have a look at it in a bit, but dont want to spend to much time on the old maxmod.