Freeciv-3.1
|
#include <audio.h>
Data Fields | |
char | name [MAX_AUDIO_NAME_LEN] |
char | descr [MAX_AUDIO_DESCR_LEN] |
bool | initialized |
bool(* | init )(struct audio_plugin *self) |
void(* | shutdown )(struct audio_plugin *self) |
void(* | stop )(void) |
void(* | wait )(void) |
double(* | get_volume )(void) |
void(* | set_volume )(double volume) |
bool(* | play )(const char *const tag, const char *const path, bool repeat, audio_finished_callback cb) |
char audio_plugin::descr[MAX_AUDIO_DESCR_LEN] |
double(* audio_plugin::get_volume) (void) |
Definition at line 37 of file audio.h.
Referenced by audio_get_volume().
bool(* audio_plugin::init) (struct audio_plugin *self) |
char audio_plugin::name[MAX_AUDIO_NAME_LEN] |
bool(* audio_plugin::play) (const char *const tag, const char *const path, bool repeat, audio_finished_callback cb) |
void(* audio_plugin::set_volume) (double volume) |
Definition at line 38 of file audio.h.
Referenced by audio_select_plugin(), and audio_set_volume().
void(* audio_plugin::shutdown) (struct audio_plugin *self) |
Definition at line 34 of file audio.h.
Referenced by audio_select_plugin(), and audio_shutdown().
void(* audio_plugin::stop) (void) |
Definition at line 35 of file audio.h.
Referenced by audio_select_plugin(), audio_stop(), and audio_stop_usage().
void(* audio_plugin::wait) (void) |
Definition at line 36 of file audio.h.
Referenced by audio_select_plugin(), and audio_shutdown().