mixer_plugin Struct Reference
#include <mixer_plugin.h>
Detailed Description
Definition at line 37 of file mixer_plugin.h.
Field Documentation
Finish and free mixer data.
Reads the current volume.
- Parameters:
-
| error_r | location to store the error occurring, or NULL to ignore errors |
- Returns:
- the current volume (0..100 including) or -1 if unavailable or on error (error_r set, mixer will be closed)
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 96 of file mixer_plugin.h.
Alocates and configures a mixer device.
- Parameters:
-
| ao | the pointer returned by audio_output_plugin.init |
| param | the configuration section, or NULL if there is no configuration |
| error_r | location to store the error occurring, or NULL to ignore errors |
- Returns:
- a mixer object, or NULL on error
Open mixer device.
- Parameters:
-
| error_r | location to store the error occurring, or NULL to ignore errors |
- Returns:
- true on success, false on error
Sets the volume.
- Parameters:
-
| error_r | location to store the error occurring, or NULL to ignore errors |
| volume | the new volume (0..100 including) |
- Returns:
- true on success, false on error
The documentation for this struct was generated from the following file: