Ogg may be better, I agree. But what if I use fmod in a shareware application to just play ogg, wav and wma, NOT MP3. How about the mp3 license in that case, because the code of the library would contain mp3 decoding code, even I do not use mp3?
- softtouch answered 13 years ago
Not sure if this is allowed by Thomson, but you could use the non-plugin FMOD Ex, if you don’t want all the seperate plugins.
FMOD_SOUND_TYPE * type,
FMOD_SOUND_FORMAT * format,
int * channels,
int * bits
To get the file format and refuse to play files which return FMOD_SOUND_TYPE_MPEG.
It can be a problem since a decoder is still present in the dll, only you are not using it, I am not sure if this is allowed by Thomson.
IMHO, I would prefer the plugin version to the non-plugin version anyday of the week. It’s kind of like choosing between a modular linux kernel and a monolithic linux kernel. It’s a bit of a no-brainer ; you can remove all the extra unwanted stuff (like the MP3 codec) + without all that extra stuff, it makes for a smaller memory footprint.
If using as a player you need to pay Thomson royalties in accordance with their rules. No need if freeware or small quantities.
If you make a program using your own sound files, ie games etc, you should use OGG instead of paying those greedy Thomson guys. They are actually quite helpful when they see the possibility of making money.
OGG is also a much better format with less loss of quality with a smaller file size.
- ddebono answered 13 years ago
Nice to know that is allowed to decode mp3 in a freeware app.
Very true about OGG, it is for some kinds of music twice as good as MP3.
It is free (in both ways) and thereby supported on many platforms.
Making it the new standard, I agree.
Unfortunately that is not up to us but up to the companies that make these hardware players. As long as the “big croud” is still using MP3 hardware players OGG will just not be used by “the general public”.
And probably the next generation of hardware players will have MP3Pro support (and some kind of succesor to WMA if it coming). And for some kind of reason most will not support OGG, altough it is free to implement and getting the specs and datasheets to play it is free, and it will use approximately as much cpu as MP3Pro. And still those hardware makers, or at least the biggest part of them, will not support it.
Please login first to submit.