forked from enlightenment/enlightenment
mixer - be explicit on pluse started flag being false
while runtime linking/compiler will make sure these are zero by default normally... be explicit.
This commit is contained in:
parent
42eedd5fe8
commit
9882110357
|
@ -1534,7 +1534,7 @@ _pulse_connect(void *data)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static Eina_Bool pulse_started;
|
static Eina_Bool pulse_started = EINA_FALSE;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_shutdown(void)
|
_shutdown(void)
|
||||||
|
@ -1580,7 +1580,7 @@ _init(Emix_Event_Cb cb, const void *data)
|
||||||
{
|
{
|
||||||
if (!pulse_started)
|
if (!pulse_started)
|
||||||
ecore_exe_run("pulseaudio --start", NULL);
|
ecore_exe_run("pulseaudio --start", NULL);
|
||||||
pulse_started = 1;
|
pulse_started = EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx->cb = cb;
|
ctx->cb = cb;
|
||||||
|
|
Loading…
Reference in New Issue