How to playsound from a certain position.

Community Forums/General Help/How to playsound from a certain position.

Playniax(Posted 2009) [#1]
Does anybody know after starting a channel how read the position?

I'm probably overlooking something.


jfk EO-11110(Posted 2009) [#2]
So these are 2 questions: how to play from a certain position of a sound, and how the determine the current position of the player. As far as I recall you can't do that with PlaySound. You might use MCISendString, probably it's possible there, since MCISendString is more dedicated to Player Controls (both, video and sound)(although MCI is rather old today...)

I guess you'd find some sourcecode here:
http://www.blitzbasic.com/codearcs/codearcs.php?code=1329


markcw(Posted 2009) [#3]
Wrong forum.

The official BRL audio module doesn't provide this functionality but REDi's Maxmod2 does in the form of GetChannelPosition and ChannelSeek.