Hello,
Where is some documentation on dumb and A5?
More specifically, what headers do I include and what does the gcc command look like in order to do something like
dumb_load_xm("foo.xm");
?
TIA,
xtheunknown0
Is there a reason why you want to use DUMB directly?
If not, you can just use A5's streaming API to play those files:
al_install_audio(); al_reserve_samples(1); al_init_acodec_addon(); ALLEGRO_AUDIO_STREAM* stream = al_load_audio_stream("foo.xm", 4, 2048); al_attach_audio_stream_to_mixer(stream, al_get_default_mixer());
You don't need to call any DUMB-specific functions.
Load it with al_load_audio_stream() and then attach it to the mixer via al_attach_audio_stream_to_mixer(). If you use al_reserve_samples(), then you can attach it to the mixer returned by al_get_default_mixer().