Using dumb
xtheunknown0

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

SiegeLord

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:

Matthew Leverton

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().

Thread #609208. Printed from Allegro.cc