diff options
author | David Guibert <david.guibert@gmail.com> | 2009-03-06 18:21:23 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-03-07 15:59:20 +0100 |
commit | 21bb10f4bf6708f4786821eff470cd0c59d04b00 (patch) | |
tree | d8956e5b7312eef352583e886691ef8ea9cffc55 /src/mixer_api.h | |
parent | a547d24eb23dafd9f26af781e6fb147c433464b2 (diff) | |
download | mpd-21bb10f4bf6708f4786821eff470cd0c59d04b00.tar.gz mpd-21bb10f4bf6708f4786821eff470cd0c59d04b00.tar.xz mpd-21bb10f4bf6708f4786821eff470cd0c59d04b00.zip |
pulse mixer
This patch introduces the mixer for the pulse output.
Technically speaking, the pulse index is needed to get or set
the volume. You must define callback fonctions to get this index since
the pulse output in mpd is done using the simpe api. The pulse simple api
does not provide the index of the newly defined output.
So callback fonctions are associated to the pulse context.
The list of all the sink input is then retreived.
Then we select the name of the mpd pulse output and control
its volume by its associated index number.
Signed-off-by: Patrice Linel <patnathanael@gmail.com>
Signed-off-by: David Guibert <david.guibert@gmail.com>
[mk: fixed whitespace errors and broke long lines; removed
daemonization changes from main.c]
Diffstat (limited to '')
-rw-r--r-- | src/mixer_api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mixer_api.h b/src/mixer_api.h index c8f219d83..e80a6511f 100644 --- a/src/mixer_api.h +++ b/src/mixer_api.h @@ -27,6 +27,7 @@ extern const struct mixer_plugin alsa_mixer; extern const struct mixer_plugin oss_mixer; +extern const struct mixer_plugin pulse_mixer; struct config_param; |