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:
Carsten Haitzler 2023-02-07 09:50:15 +00:00
parent 42eedd5fe8
commit 9882110357
1 changed files with 2 additions and 2 deletions

View File

@ -1534,7 +1534,7 @@ _pulse_connect(void *data)
return ret;
}
static Eina_Bool pulse_started;
static Eina_Bool pulse_started = EINA_FALSE;
static void
_shutdown(void)
@ -1580,7 +1580,7 @@ _init(Emix_Event_Cb cb, const void *data)
{
if (!pulse_started)
ecore_exe_run("pulseaudio --start", NULL);
pulse_started = 1;
pulse_started = EINA_TRUE;
}
ctx->cb = cb;