src/mixer_all.h File Reference

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.

Detailed Description

Functions which affect the mixers of all audio outputs.

Definition in file mixer_all.h.


Function Documentation

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.

Parameters:
volume the volume (range 0..100 or -100..100 if relative)
relative if true, then the volume is added to the current value
Returns:
true on success, false on failure
Generated on Mon Aug 2 17:09:37 2010 for MPD by  doxygen 1.6.3