Hi all –
I’m a little confused by the FMOD_SYNCPOINT data type. What does it hold? I’m currently implementing an FMOD_CHANNEL_CALLBCKTYPE_SYNCPOINT function, and I’m a little confused as to why the interface changed from FMOD 3.75’s callback which just gave the name back.
I’m pretty new to audio programming, so sorry for the newbie-ish question – I’m just assuming my own ignorance.
- Stoic asked 11 years ago
Hey Brett –
Thanks, jbtennis.wav works. I’ve done some digging with my file, and it seems to be an issue with my Soundforge Export settings. (I’m using Soundforge 7.0) Previously, I was embedding the tags, then exporting as Mp3. In FMOD 3.75, that works (it hits the syncpoints). In FMOD Ex, right now it doesn’t seem to. When I reload my Mp3 files into soundforge, I still see the tags, though. So I re-exported as a straight .wav and the synchpoints were hit.
So, this is better than it was before, but it would be really nice if I could keep the compression on my file (I’m tagging up pretty long music files). Do you have any advice for tagging Mp3’s?
Thanks for all your help!
Hmm, ok, that makes sense.
I’m still having trouble recieving a callback signal, though…
It’s strange, the End callback is working fine, but the sync ones aren’t getting hit.
chn->setCallback(FMOD_CHANNEL_CALLBACKTYPE_END, SoundEndCallback, 0);
chn->setCallback(FMOD_CHANNEL_CALLBACKTYPE_SYNCPOINT, SoundSyncCallback, (int)handle.GetValue());
For some reason, the Stream ending callback is getting generated, but the synchpoint callback isn’t. I’ve verified that my test stream has synch points in it (the same file generates callbacks in FMOD 3.75) It builds fine, I don’t even get warning messages.
Do I need to use software mixing or something in order to get the sync callbacks?
Thanks for your help!
Please login first to submit.