summaryrefslogtreecommitdiff
path: root/src/modules/mixer
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2013-12-16 08:16:36 -0500
committerMike Blumenkrantz <zmike@samsung.com>2013-12-16 08:16:36 -0500
commit02e95afdf3c0bb14ed77abe39faa79fe7f213c60 (patch)
tree6fc32fefc86a693e8e60f7fefaa460b1efd4f8b6 /src/modules/mixer
parentc7a23ab5bd72393c8e67f1dcb982ca4715466aa0 (diff)
downloadenlightenment-02e95afdf3c0bb14ed77abe39faa79fe7f213c60.tar.gz
use regular ecore-exe for pulse start to not track launch
Diffstat (limited to 'src/modules/mixer')
-rw-r--r--src/modules/mixer/sys_pulse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/mixer/sys_pulse.c b/src/modules/mixer/sys_pulse.c
index 12c4e236c5..79a47bde52 100644
--- a/src/modules/mixer/sys_pulse.c
+++ b/src/modules/mixer/sys_pulse.c
@@ -2,7 +2,7 @@
#include "e_mod_mixer.h"
#include "Pulse.h"
-static E_Exec_Instance *pulse_inst = NULL;
+static Ecore_Exe *pulse_inst = NULL;
static Eina_Bool pa_started = EINA_FALSE;
static Pulse *conn = NULL;
@@ -29,9 +29,9 @@ _pulse_start(void *d EINA_UNUSED)
}
static Eina_Bool
-_pulse_started(void *data EINA_UNUSED, int type EINA_UNUSED, E_Exec_Instance *inst)
+_pulse_started(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Exe_Event_Add *inst)
{
- if (inst != pulse_inst) return ECORE_CALLBACK_RENEW;
+ if (inst->exe != pulse_inst) return ECORE_CALLBACK_RENEW;
if (!update_timer)
update_timer = ecore_timer_add(2.0, _pulse_start, NULL);
pa_started = EINA_TRUE;
@@ -309,7 +309,7 @@ e_mixer_pulse_init(void)
return EINA_FALSE;
}
- pulse_inst = e_exec(NULL, NULL, "start-pulseaudio-x11", NULL, NULL);
+ pulse_inst = ecore_exe_run("start-pulseaudio-x11", NULL);
if (!pulse_inst) return EINA_FALSE;
E_LIST_HANDLER_APPEND(handlers, E_EVENT_EXEC_NEW, (Ecore_Event_Handler_Cb)_pulse_started, NULL);