What MP3 BitRate/SampleRates are supported, using the FSOUND family?
I get this error: FMOD_ERR_FILE_FORMAT (10 decimal) for some MP3’s. In every instance I’ve checked so far, they were not the standard 128/44100. For example the last error occurred on an MP3 with 256/32000. Perhaps a different constant in the Stream Open call?
BTW, all of the MP3’s which errored in FMOD played OK in WinAmp.
- normcook asked 15 years ago
I was just using 44100 for FSOUND_Init and FSOUND_2D for FSOUND_Stream_OpenFile as shown in Sample1.
After looking at the prjDMPFinal example posted on this board, I tried this init:
FSOUND_Init 44100, 64, FSOUND_INIT_ACCURATEVULEVELS Or FSOUND_INIT_GLOBALFOCUS
and this open:
Stream = FSOUND_Stream_OpenFile(filename, FSOUND_2D Or FSOUND_MPEGACCURATE, 0)
but it still gives the format error on an MP3 with BR/SR=256/32000.
I also tried changing the init SampleRate to 32000 but got the same error.
- normcook answered 15 years ago
Please login first to submit.