mkultra333
07-11-2010 11:15:41
Just started with OgreOggSound, so this is a preliminary question.
I see there's a setPlayPosition function that lets you set the play position in the sound, in seconds. I'm after the opposite of this, I want to sync certain events to times in the sound (for syncronizing stuff to music).
So ideally I'd want a getPlayPosition function that would return where the sound is currently playing from, in seconds. I can't see any such function. Is there a way to do this?
If not, any suggestions as to how I'd modify OgreOggSound to make this possible?
I see there's a setPlayPosition function that lets you set the play position in the sound, in seconds. I'm after the opposite of this, I want to sync certain events to times in the sound (for syncronizing stuff to music).
So ideally I'd want a getPlayPosition function that would return where the sound is currently playing from, in seconds. I can't see any such function. Is there a way to do this?
If not, any suggestions as to how I'd modify OgreOggSound to make this possible?