SDL_mixer get music play-time |
Iron_Attorney
|
Hi, sorry to bump this, but it's been a good while, and I'm still none the wiser on this. I'll maybe simplify my requests though, save reading through my whole previous message:
1. Using SDL mixer, I want to have some way of knowing how far through my audio playback is so I can start a different piece of music at a specific time, without waiting for the first piece to finish. I want to know if the HookMusic functions are capable of this. 2. If they are, does anyone have a good simple example? The one in the docs is mighty confusing! Thanks in advance, Pete |
|||||||||||
|
MrTAToad
|
It looks as though there isn't an easy way to finding out how far through the music is - you step through a buffer, but you would need to record the initial buffer position and then calculate from that, which would be fiddly.
|
|||||||||||
|
Iron_Attorney
|
So I assume that's not possible with the hook functions then?
I may be out of my depth with that kind of caper, but any tips/resources that might help me start such an operation? |
|||||||||||
|