Audio codecs

al_init_flac_addon

bool al_init_flac_addon(void)

This function to registers al_load_sample_flac with al_load_sample to handle files with the extension ".flac". You will need to include the a5_flac.h header file and link with the a5_flac library.

Return true on success.

al_load_sample_flac

ALLEGRO_SAMPLE *al_load_sample_flac(const char *filename)

Loads a sample in FLAC format.

See also: al_load_sample

al_init_ogg_vorbis_addon

bool al_init_ogg_vorbis_addon(void)

This function to registers al_load_sample_ogg_vorbis with al_load_sample and al_load_stream_ogg_vorbis with al_stream_from_file to handle files with the extension ".ogg" (assumed to contain Vorbis data). You will need to include the a5_vorbis.h header file and link with the a5_vorbis library.

Return true on success.

al_load_sample_ogg_vorbis

ALLEGRO_SAMPLE *al_load_sample_ogg_vorbis(const char *filename)

Loads a sample in Ogg Vorbis format.

See also: al_load_sample

al_load_stream_ogg_vorbis

ALLEGRO_STREAM *al_load_stream_ogg_vorbis(const char *filename,
    size_t buffer_count, unsigned int samples)

Loads a stream in Ogg Vorbis format.

See also: al_stream_from_file

Last updated: 2009-08-09 08:22:30 UTC