23#define MAX_AUDIO_NAME_LEN 20
24#define MAX_AUDIO_DESCR_LEN 200
26#define MAX_ALT_AUDIO_FILES 25
40 bool (*
play) (
const char *
const tag,
const char *
const path,
bool repeat,
void audio_restart(const char *soundset_name, const char *musicset_name)
void audio_play_track(const char *const tag, char *const alt_tag)
void audio_play_music(const char *const tag, char *const alt_tag, enum music_usage usage)
void audio_shutdown(bool play_quit_tag)
const char * audio_get_all_plugin_names(void)
void audio_stop_usage(void)
bool audio_select_plugin(const char *const name)
void audio_real_init(const char *const soundspec_name, const char *const musicset_name, const char *const preferred_plugin_name)
void audio_set_volume(double volume)
const struct strvec * get_musicset_list(const struct option *poption)
#define MAX_AUDIO_NAME_LEN
void audio_play_sound(const char *const tag, const char *const alt_tag, const char *const alt_tag2)
double audio_get_volume(void)
void(* audio_finished_callback)(void)
void audio_add_plugin(struct audio_plugin *p)
const struct strvec * get_soundset_list(const struct option *poption)
#define MAX_AUDIO_DESCR_LEN
const struct strvec * get_soundplugin_list(const struct option *poption)
static struct ai_type * self
char descr[MAX_AUDIO_DESCR_LEN]
bool(* init)(struct audio_plugin *self)
void(* set_volume)(double volume)
double(* get_volume)(void)
void(* shutdown)(struct audio_plugin *self)
bool(* play)(const char *const tag, const char *const path, bool repeat, audio_finished_callback cb)
char name[MAX_AUDIO_NAME_LEN]