i recently discovered, that adding a syncpoint to a stream with 0 set for userdata crashes fmod. It does work with a string cast to int. should be fairly easy to fix…
(Actually you get the string back throught the buffer* in the callback function.)
I couldn’t find that in the helpfile, though it helps if you know that. 😀
- Anyway asked 16 years ago
Ok, you’ve fixed this one but now I’ve got strange sound noise at the end of any stream I play. I did no changes to my code, only change dll’s from 3.61 to 3.62. If I switch them back, the noise disappears. So it happens only with fmod.dll v.3.62.
Uhm, sorry ;P Well I did no change to my code and I also didn’t use AddSynchPoint. I just load stream from a file with FSOUND_Stream_OpenFile and then I play it. At the end of the file the sound (spoken words in my case) is distorted, like you would rise so much the volume that your speakers couldn’t make it. It’s just a multiplied distorted sound, I can recognize the words though. The file is wav PCM 11,025 kHz; bitów: 8 ; Mono, from your media files supplied, it’s named jbtennis.wav, i load it with FSOUND_NORMAL. This file has synch points written inside. Normally the file is ok, only when i play it with fmod it’s wrong.
Stream = FSOUND_Stream_OpenFile(“jbtennis.wav”,FSOUND_NORMAL,0);
Note I have no problem with this if i use fmod.dll v.3.61.
i am too using the stream example to test these functions and there is an loud noise at the end of the stream now. It sounds like a plugging in a mic or something like that. I could send you the source, but since its only the modifyed example, it is probably not much use to you.
would be great if you could fix that..
actually this seems only to happen with jbtennis.wav; other wavs seem to play normally…
- Anyway answered 16 years ago
Please login first to submit.