forked from enlightenment/enlightenment
don't need to update pulse mixer gadgets when we're just checking default sink, also ensure that pulse_ready is always called
SVN revision: 78701
This commit is contained in:
parent
fa2e16a332
commit
d31a31eb6f
|
@ -99,15 +99,16 @@ _pulse_info_get(Pulse *d __UNUSED__, int type __UNUSED__, Pulse_Server_Info *ev)
|
|||
Pulse_Sink *sink;
|
||||
|
||||
pulse_server_info_free(info);
|
||||
info = ev;
|
||||
EINA_LIST_FOREACH(sinks, l, sink)
|
||||
if (ev->default_sink == pulse_sink_name_get(sink))
|
||||
{
|
||||
if (default_sink == sink) return;
|
||||
default_sink = sink;
|
||||
if (!_mixer_using_default) e_mod_mixer_pulse_update();
|
||||
break;
|
||||
}
|
||||
info = ev;
|
||||
if (!_mixer_using_default) e_mod_mixer_pulse_ready(EINA_TRUE);
|
||||
e_mod_mixer_pulse_ready(EINA_TRUE);
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
|
|
Loading…
Reference in New Issue