1
Audio / Plugable audio formats
« on: May 30, 2008, 04:06:40 pm »
I was looking in the roadmap and on the forum and I saw that there are plans to implement different audio formats and that is is not possible to include MP3 support.
I looked in the source code (very quickly) and I found out that file formats are somewhat hardcoded, that made me think :idea:
What if it is possible to plug audio formats (seperate libraries) into the audio library? It will make it possible to get MP3 support (for the people who can use it) and it will make it easier to add more formats, even formats that are not used very much. And all this is possible without getting a lot of dependencies that are not used by a lot of people...
At the moment I have no idea how this should look like and where to put it, but I can take a look this weekend and give you an idea...
The same principle is possible with different image formats and even render systems...
When it is done well, the system will not get more complex for the user, because the functionality stays the same, only when he wants to have other audio support, he adds the plugin...
What do you think of this idea?
I looked in the source code (very quickly) and I found out that file formats are somewhat hardcoded, that made me think :idea:
What if it is possible to plug audio formats (seperate libraries) into the audio library? It will make it possible to get MP3 support (for the people who can use it) and it will make it easier to add more formats, even formats that are not used very much. And all this is possible without getting a lot of dependencies that are not used by a lot of people...
At the moment I have no idea how this should look like and where to put it, but I can take a look this weekend and give you an idea...
The same principle is possible with different image formats and even render systems...
When it is done well, the system will not get more complex for the user, because the functionality stays the same, only when he wants to have other audio support, he adds the plugin...
What do you think of this idea?