• David Guibert's avatar
    pulse mixer · 21bb10f4
    David Guibert authored
    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: 's avatarPatrice Linel <patnathanael@gmail.com>
    Signed-off-by: 's avatarDavid Guibert <david.guibert@gmail.com>
    
    [mk: fixed whitespace errors and broke long lines; removed
    daemonization changes from main.c]
    21bb10f4
Makefile.am 11.5 KB