I’m playing with dynamically creating synch points in streaming audio with FSOUND_Stream_AddSynchPoint, and it’s my program to crash. Here’s the code:
[code:37s4yb4c]FSOUND_Init(44100, 32, 0);
FSOUND_STREAM *stream = FSOUND_Stream_OpenFile("jules.mp3", 0, 0);
assert(stream != NULL);
// crashes on this line
int syncIndex = FSOUND_Stream_AddSynchPoint(stream, 5000, 0);[/code:37s4yb4c]
The error report is “unauthorized memory access at 0x0000001c”. This happens no matter what file I’m streaming, or what offset I pass to AddSynchPoint. I’m running FMOD 3.61 under Win2K.
Any help would be appreciated. Thanks!
- cort asked 14 years ago
- You must login to post comments