0
0

Hello again, this is my second question :)

Some (big) mp3 files are in fact “Albumwrap” files.

Most of players support this format, but the FMOD library seems not to.

Is there any trick to play albumwrap files using the fmod library ?

Thanks

  • You must to post comments
0
0

Albumwrap is a special file format. You can refer to the following website to get some information about this format : http://mp3wrap.sourceforge.net/

As you can see, an albumwrap file contains many mp3 files. Each mp3 file is dumped “as is” in the albumwrap file. The mp3 files are simply put next to each other to make a single bigger file.

This way, we get a single big file containing many mp3 files and, most of time, this big file has the “.mp3” extension (although they are not real mp3 files).

Winamp and itunes for example, can read such files without any problem.

I whish fmod does the same :)

Thanks

  • You must to post comments
0
0

it would be possible using stream callbacks to do it

  • You must to post comments
0
0

[quote="birty":3s3qsiny]it would be possible using stream callbacks to do it[/quote:3s3qsiny]
I never used stream callbacks.
Do you have any sample of code doing this please ?

  • You must to post comments
0
0

[quote="brett":3a72ybi4]unless it has a heap of crap at the start of it, which is probably does, fmod would not have any problem reading it.
Just try opening the stream and if it fails, retry with a ‘dataoffset’ value set to 4096. Then if it fails again, try 8192.
FMOD doesnt search through a huge file just to find an mp3 header like winamp does. If it did I would have a lot more angry people than happy because load times would go through the roof for some non mp3 files.[/quote:3a72ybi4]

Indeed there are lots of dirty things at the begining of the file 😀

And, indeed, if I give the exact position of the mp3 header to the FSOUND_Stream_Open function, it works very well !

But it crashes if I give him an inexact value (8000) for example :(

Thanks a lot for your help !

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.