forked from enlightenment/enlightenment
modules:mixer:pulse Update default sink
Update the default sink when it changes (for instance when it is changed on pavucontrol).
This commit is contained in:
parent
15d13dad16
commit
7c195e383c
|
@ -648,7 +648,15 @@ _subscribe_cb(pa_context *c, pa_subscription_event_type_t t,
|
|||
pa_operation_unref(o);
|
||||
}
|
||||
break;
|
||||
|
||||
case PA_SUBSCRIPTION_EVENT_SERVER:
|
||||
if (!(o = pa_context_get_server_info(c, _server_info_cb,
|
||||
data)))
|
||||
{
|
||||
ERR("pa_context_get_server_info() failed");
|
||||
return;
|
||||
}
|
||||
pa_operation_unref(o);
|
||||
break;
|
||||
default:
|
||||
WRN("Event not handled");
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue