Functions which affect the mixers of all audio outputs. More...
#include <stdbool.h>
Go to the source code of this file.
Functions | |
int | mixer_all_get_volume (void) |
Returns the average volume of all available mixers (range 0..100). | |
bool | mixer_all_set_volume (int volume, bool relative) |
Sets the volume on all available mixers. |
Functions which affect the mixers of all audio outputs.
Definition in file mixer_all.h.
int mixer_all_get_volume | ( | void | ) |
Returns the average volume of all available mixers (range 0..100).
Returns -1 if no mixer can be queried.
bool mixer_all_set_volume | ( | int | volume, | |
bool | relative | |||
) |
Sets the volume on all available mixers.
volume | the volume (range 0..100 or -100..100 if relative) | |
relative | if true, then the volume is added to the current value |