Comment 3 for bug 1367693

David Henningsson (diwic) wrote :

Ok, so one finding:

This row (in gvc-mixer-control.c, update_sink and update_source)
                control->priv->profile_swapping_device_id = GVC_MIXER_UI_DEVICE_INVALID;

...needs to move inside this block:
                         if (gvc_mixer_ui_device_get_stream_id (dev) == gvc_mixer_stream_get_id (stream)) {

...otherwise profile_swapping_device_id gets forgotten before it is used.