Max Kellermann
4e2fb3fb89
mixer_plugin: use GError for error handling
2009-10-20 22:10:56 +02:00
Max Kellermann
da8095db54
mixer_all: added mixer_all_set_software_volume()
...
The special-purpose function is used for saving/restore the software
volume control to the state file.
2009-07-06 21:52:29 +02:00
Max Kellermann
d3b5574d7a
volume: moved range check to handle_setvol()
...
Converted the range checks in volume_level_change() to assertions.
Changed all volume types to "unsigned", expect for those which must be
able to indicate error (-1).
2009-07-06 21:52:10 +02:00
Max Kellermann
90472526e0
volume, mixer: removed the "relative" parameter
...
Since the "volume" command has been removed, nobody uses relative
volumes anymore.
2009-07-06 21:51:24 +02:00
Max Kellermann
66a2c5669e
output_plugin: replaced output_plugin.get_mixer() with mixer_plugin
...
The mixer core library is now responsible for creating and managing
the mixer object. This removes duplicated code from the output
plugins.
2009-03-26 18:23:23 +01:00
Max Kellermann
5b687795c4
mixer_all: removed debug message
...
Don't dump the volume of all mixers.
2009-03-14 11:54:39 +01:00
Max Kellermann
a5017a2d7c
mixer_api: moved functions to mixer_control.c
...
mixer_control.h should provide the functions needed to manipulate a
mixer, without exposing the internal mixer API (which is provided by
mixer_api.h).
2009-03-14 11:36:50 +01:00
Max Kellermann
8d01110c84
mixer_control: moved functions to mixer_all.c
2009-03-14 11:35:54 +01:00
Max Kellermann
88af35c0ab
volume: moved code to mixer_all.c
2009-03-14 11:35:40 +01:00