0
0

Hello,

I am having a strange problem, that I can not find the answer to. I am using FMODCE to play back mp3s, but I find that some mp3s are not recognized by FMODCE (unkown file format error). I have been searching for a pattern (i.e. same bit rates, tag information, MPEG info….) but have not found anything similar in these files that might be the culprit. I can listen to the songs on my computer using WinAmp, MusicMatch, RealOne, Windows Media Player with out any problem, so I think the files themselves are fine. I have compiled and tested these songs with the sample player fmodsamplece and had the same problem.

after some debugging I found that my code fails when I open a file stream with:

FileStream = FSOUND_Stream_OpenFile(FilePath,FSOUND_NORMAL,0);

Has anyone run into this problem too, and if so how did you fix it?

I am using eVC, Win2K and an iPaq 3650 to write and test my code on.

Thanks in advance

Shyam

  • You must to post comments
0
0

I am also having the same problem with MP3 files returning the error “Unknown file format” when running fmodapi360ce (or fmodapi360ce_small) on an iPAQ, programmed with Embedded VC++ 3 on Win2k. I have stripped all “fancy crap” from the start of the file, including the first few samples of the audio.

The error still occurs even with mixer autodetection overridden with FSOUND_MIXER_MONO (or quality mono).

Brett, you write that FMOD searches for MP3 data – what is it looking for given that the tag data is the last 127 bytes of the file ? My tag data conforms to ID3v1 and is written with Analog X TagMaster. Is it possible to override the autodetection or force it to read to EOF ?

I can’t think what else to try to get MP3 playing on the iPAQ.

  • You must to post comments
0
0

That seems to have done the trick !

Many thanks.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.