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/main.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 'src/main.h')
0 files changed, 0 insertions, 0 deletions