0
0

I’m using fmodce 3.62, and I simply cannot get reasonable times for my mp3 files. I’ve tried FSOUND_MPEGACCURATE when calling FSOUND_Stream_OpenFile(), and it really doesn’t make any difference.

For example, I’ve got a 6 minute, 29 second mp3 that’s encoded at 128kbps (not VBR). I get a value like 82 when I call FSOUND_Stream_GetLengthMs(). This happens with all of the clips I’m playing.

Is it possible that the CE version is broken? I’m pretty sure I’ve tried everything.

  • You must to post comments
0
0

Thanks for the quick replies!

I just tried your code change in the emulator, and I get a time of 0:00, and the elapsed time never changes.

I don’t think there’s anything strange about the MP3s I’m testing with; when I get back home, I’ll have to try with a wider range of files.

  • You must to post comments
0
0

I just downloaded fmodce. I’ve tested in both the x86em and sh3 environments. Same result. I could try ARM as well, if you think that would make a difference.

BTW — when I try to play OGG on SH3, it doesn’t work properly. It works fine in x86em. IIRC, it plays back in “loops” on SH3 — it loops a ~1 second clip a couple of times, then moves on to the next 1 second segment.

  • You must to post comments
0
0

As mentioned in a previous post, I did try your code change in the fmodce example. I got the same results that I’m seeing with my own source code.

I’m not getting 0 returned; I’m getting things like “22” for a 6 minute MP3. It makes no difference whether I specify MPEG_ACCURATE or not when I open the file.

I have not tested for errors with FSOUND_GetError(). Would that only be relevant if I were getting 0 for the length?

Strange that in your environment, you have no problems, but in mine, I consistently get them.

Either there’s something wrong with the libraries that I’ve got, or the MP3s that I have are encoded in some strange fashion that even your test cases don’t cover (probably not very likely).

Do you have a small MP3 that you can post that you know works that I could test my code against?

  • You must to post comments
0
0

OK — I tried some different MP3s, and I got what appeared to be valid time information. So it appears that something was wrong with my MP3s (although they play fine). Would you be interested in testing with one of these?

  • You must to post comments
0
0

I have the same problem with mp3 files. FSOUND_Stream_GetLengthMs and FSOUND_Stream_GetTime report 63 milliseconds only while winamp and Window Media Player play them and report no problem. I tried FSOUND_MPEGACCURATE but it did not help. Please let me know can I resolve this problem. 😳

You can find a sample at [url:2xgaf7qz]http://dvl.novosoft.ru/~solo/Family_Portrait_orig.mp3[/url:2xgaf7qz]

Thanks!

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.