Hiyas Brett, just letting you know that I have found a bug in Fmod. You can reproduce the error quite easily. I’am using Windows XP.
Heres how to reproduce the error.
Have your player play the CD, then stop the CD and change to a stream or module. Then go back to the CD. When you do for some reason It always fails to play. I can post my class object here if you wish but its a bit complex since several class are involved. I’ve spent alot of time tring different approaches to get around the problem however it always ends in the same approach.
For the record I completely shut down Fmod and reinaltilize it each thing it plays. I find this works best espeically when toggling effects and dsp operations.
P.S. I am using Fmod 3.6
It somewhat works, yet there are some bugs, not sure how to describe them.
Ok Track 1 – 0:56 long
Track 2 – 3:26 long
I press the play CD button on my application.
It starts the CD up, shows the correct time for track 1, fades into track 2, however it still tells me i’am playing track 1, untill 56 seconds into track 2, then it fmod reports the correct track.
I have scoured my source code for errors and can’t find any, so i’am guessing its sometype of sync problem within FMOD.
Eeek, using the same application, only swapping the dll’s caused my application to stop responding. Furthermore killing the application left the CD player running for some reason, and under windows XP i have no clue how to stop it, lol.
Anyhow slight bug still in there somewhere.
Well the only thing I can say is that when i click the CD button on my application it starts up the CD, but then my application stops responding, i could forward an executable if it would make things easier, but since its VB i’am not sure it would be much good to you.
Opps seemed to found another. I’am using a audio CD that is a DJ mix, ie tracks are all ran together. So when FMOD finishes playing a song it instantly mixes into the next track without any pause. (hope this makes since).
Anyhow when this happens FSOUND_CD_GetTrack(0) never updates, it always remains as 1, unless i manually tell it to play another track via a click of the player or something similar. Oddly enough thou FSOUND_CD_GetTrackTime(0) does update, however I have no idea what track is being played if i let it play it never updates me with the correct track.
If this is confusing and does not make since let me know and i’ll post a more clear message.
I’ve also been having the same errors. Like you said in your first post, If I change to stream then the CD will not play for some reason. The CD part od FMOD has always been a bit buggy though. This is why I think then next build of FMOD shoukd include the Digital Rip mode mentioned in another post. That wiuld be very useful.
Can you try it to see if you FSOUND_CD_GetTrack(0) will update if you let it play through. Mine always uses whatever track i tell it to play. For example if i set it to play track 2, and it moves into track 3, and i use the gettrack call to fmod it returns track 2. however the GetLenght/Time functions ect for the new track does return new data. Just not sure whats going on.
P.S. Anyone know where Brett is, havn’t seen hide no hair of him now for like a week.
Yes, you’re right. If I, say for example, play Track 3 all the way through, at the end of the track it loads Track 4 but FSOUND_CD_GetTrack(0) still says that it is playing Track 3. All other data is updated except for FSOUND_CD_GetTrack(0). I’m not sure where brett is.
Please login first to submit.