#include <mixer_plugin.h>
Data Fields | |
struct mixer *(* | init )(const struct config_param *param) |
Alocates and configures a mixer device. | |
void(* | finish )(struct mixer *data) |
Finish and free mixer data. | |
bool(* | open )(struct mixer *data) |
Open mixer device. | |
void(* | close )(struct mixer *data) |
Close mixer device. | |
int(* | get_volume )(struct mixer *mixer) |
Reads the current volume. | |
bool(* | set_volume )(struct mixer *mixer, unsigned volume) |
Sets the volume. | |
bool | global |
If true, then the mixer is automatically opened, even if its audio output is not open. |
Definition at line 35 of file mixer_plugin.h.
void(* mixer_plugin::close)(struct mixer *data) |
Close mixer device.
void(* mixer_plugin::finish)(struct mixer *data) |
Finish and free mixer data.
int(* mixer_plugin::get_volume)(struct mixer *mixer) |
Reads the current volume.
bool mixer_plugin::global |
If true, then the mixer is automatically opened, even if its audio output is not open.
If false, then the mixer is disabled as long as its audio output is closed.
Definition at line 77 of file mixer_plugin.h.
struct mixer*(* mixer_plugin::init)(const struct config_param *param) [read] |
Alocates and configures a mixer device.
bool(* mixer_plugin::open)(struct mixer *data) |
Open mixer device.
bool(* mixer_plugin::set_volume)(struct mixer *mixer, unsigned volume) |
Sets the volume.
volume | the new volume (0..100 including) |