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 ?
- schbounz asked 13 years ago
[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 !
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
Please login first to submit.