summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 12c4e236c..79a47bde5 100644
--- a/src/modules/mixer/sys_pulse.c
+++ b/src/modules/mixer/sys_pulse.c
@@ -2,7 +2,7 @@
2#include "e_mod_mixer.h" 2#include "e_mod_mixer.h"
3#include "Pulse.h" 3#include "Pulse.h"
4 4
5static E_Exec_Instance *pulse_inst = NULL; 5static Ecore_Exe *pulse_inst = NULL;
6static Eina_Bool pa_started = EINA_FALSE; 6static Eina_Bool pa_started = EINA_FALSE;
7 7
8static Pulse *conn = NULL; 8static Pulse *conn = NULL;
@@ -29,9 +29,9 @@ _pulse_start(void *d EINA_UNUSED)
29} 29}
30 30
31static Eina_Bool 31static Eina_Bool
32_pulse_started(void *data EINA_UNUSED, int type EINA_UNUSED, E_Exec_Instance *inst) 32_pulse_started(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Exe_Event_Add *inst)
33{ 33{
34 if (inst != pulse_inst) return ECORE_CALLBACK_RENEW; 34 if (inst->exe != pulse_inst) return ECORE_CALLBACK_RENEW;
35 if (!update_timer) 35 if (!update_timer)
36 update_timer = ecore_timer_add(2.0, _pulse_start, NULL); 36 update_timer = ecore_timer_add(2.0, _pulse_start, NULL);
37 pa_started = EINA_TRUE; 37 pa_started = EINA_TRUE;
@@ -309,7 +309,7 @@ e_mixer_pulse_init(void)
309 return EINA_FALSE; 309 return EINA_FALSE;
310 } 310 }
311 311
312 pulse_inst = e_exec(NULL, NULL, "start-pulseaudio-x11", NULL, NULL); 312 pulse_inst = ecore_exe_run("start-pulseaudio-x11", NULL);
313 if (!pulse_inst) return EINA_FALSE; 313 if (!pulse_inst) return EINA_FALSE;
314 314
315 E_LIST_HANDLER_APPEND(handlers, E_EVENT_EXEC_NEW, (Ecore_Event_Handler_Cb)_pulse_started, NULL); 315 E_LIST_HANDLER_APPEND(handlers, E_EVENT_EXEC_NEW, (Ecore_Event_Handler_Cb)_pulse_started, NULL);