1al_register_audio_stream_loader_f(3)      al_register_audio_stream_loader_f(3)
2
3
4

NAME

6       al_register_audio_stream_loader_f - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_audio.h>
10
11              bool al_register_audio_stream_loader_f(const char *ext,
12                 ALLEGRO_AUDIO_STREAM *(*stream_loader)(ALLEGRO_FILE* fp,
13                    size_t buffer_count, unsigned int samples))
14

DESCRIPTION

16       Register  a  handler for al_load_audio_stream_f(3).  The given function
17       will be used to open streams from files with the given extension.
18
19       The extension should include the leading dot (`.') character.  It  will
20       be matched case-insensitively.
21
22       The stream_loader argument may be NULL to unregister an entry.
23
24       Returns  true on success, false on error.  Returns false if unregister‐
25       ing an entry that doesn’t exist.
26

SEE ALSO

28       al_register_audio_stream_loader(3)
29
30
31
32Allegro reference manual                  al_register_audio_stream_loader_f(3)
Impressum