• Bastien Nocera's avatar
    gvc: Add "what did you plug in" support API · f3f6812e
    Bastien Nocera authored
    Add "audio-device-selection-needed" which will be emitted when a
    headphones, headset or microphone is plugged into a jack socket that
    cannot detect which type it was.
    
    Once the user of libgnome-volume-control has asked the user which type
    of device this was, they can call gvc_mixer_control_set_headset_port()
    to switch the ports for that configuration.
    
    Note that gvc_mixer_control_set_headset_port() supports passing the
    card ID, but the detection code only supports a single such device. When
    we find hardware that can support > 1 such device, we can test and
    implement support without breaking the API.
    
    Based on the original code by David Henningsson <david.henningsson@canonical.com>
    for the unity-settings-daemon
    
    https://bugzilla.gnome.org/show_bug.cgi?id=755062
    f3f6812e
Name
Last commit
Last update
.gitignore Loading commit data...
Makefile.am Loading commit data...
gvc-channel-map-private.h Loading commit data...
gvc-channel-map.c Loading commit data...
gvc-channel-map.h Loading commit data...
gvc-mixer-card-private.h Loading commit data...
gvc-mixer-card.c Loading commit data...
gvc-mixer-card.h Loading commit data...
gvc-mixer-control-private.h Loading commit data...
gvc-mixer-control.c Loading commit data...
gvc-mixer-control.h Loading commit data...
gvc-mixer-event-role.c Loading commit data...
gvc-mixer-event-role.h Loading commit data...
gvc-mixer-sink-input.c Loading commit data...
gvc-mixer-sink-input.h Loading commit data...
gvc-mixer-sink.c Loading commit data...
gvc-mixer-sink.h Loading commit data...
gvc-mixer-source-output.c Loading commit data...
gvc-mixer-source-output.h Loading commit data...
gvc-mixer-source.c Loading commit data...
gvc-mixer-source.h Loading commit data...
gvc-mixer-stream-private.h Loading commit data...
gvc-mixer-stream.c Loading commit data...
gvc-mixer-stream.h Loading commit data...
gvc-mixer-ui-device.c Loading commit data...
gvc-mixer-ui-device.h Loading commit data...
gvc-pulseaudio-fake.h Loading commit data...
libgnome-volume-control.doap Loading commit data...