Re: [AD] support for mod files |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Mon, 2010-04-05 at 06:59 -0600, Thomas Fjellstrom wrote:
>
> Well whatever. Maybe a better route is being able to check at run time if a
> given format is loadable? al_audio_can_load(".mod") ?
>
Won't work right now because al_init_modaudio_addon() must be called to
add ".mod" to the list. However, it would work if we do it like in the
image addon - that is have only one al_init_acodec_addon(), which has
compile-time check for the included formats. I forgot why we did things
differently for image and audio formats originally - but it seems like
the better way to me.
--
Elias Pschernig <elias.pschernig@xxxxxxxxxx>