I was using FMOD 3.6 for my VB project and it was working fine but then I switched to 3.7 and started having a problem. 3.7 works fine in Windows XP but in Windows ME it doesn’t play Audio CD tracks all the way through.
I started a new project and all I do is Init FMOD set the CD play mode to play once and then stop. Then play the CD track.
upon exit I stop the CD and close out FMOD.
The code works fine in Windows XP and plays the entire track. However, on Windows ME it will get to the same spot in the track everytime and pause. If you call SetPaused to unpause it will start to play again and make a pop but then stops again.
I’ve tried multiple CD’s and the stop point is different on every song, but it rarely finds a song it will play all the way through.
Does anyone know what’s causing this?
FSOUND_Init 44100, 32, FSOUND_INIT_GLOBALFOCUS ‘Load the sound library.
FSOUND_CD_SetPlayMode ASC(“F”), PLAYONCE
is basically the only code you need to recreate the error. But only fails to work on Windows ME.
- Anonymous asked 14 years ago
This is the entire code of my project.
FSOUND_Init 44000, 32, FSOUND_INIT_GLOBALFOCUS
FSOUND_CD_SetPlayMode Asc(“F”), FSOUND_CD_PLAYONCE
FSOUND_CD_Play Asc(“F”), 1
Works fine in XP but not in ME, or not on my installation of ME anyway, and worked fine with FMOD 3.6 it would work on both OS’s but when I changed to 3.7 it started doing this. Don’t understand why.
It can be no other line of code, for my project contains no other code. If anyone can find what’s wrong with these three lines of code in terms of playing a CD, please tell me. But I doubt that’s it.
Please login first to submit.