summaryrefslogtreecommitdiff
path: root/src/tests/ecore/ecore_test_ecore_audio.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-06-20 15:31:31 +0100
committerTom Hacohen <tom@stosb.com>2016-06-20 18:02:00 +0100
commit6202cc7485a54dea6f02a2668e7c907247902dd1 (patch)
tree7a1fa2b61175b1ef75a9bff7299a0ce3daa45216 /src/tests/ecore/ecore_test_ecore_audio.c
parentd648eb5311585f7392d0290640ba133814b52589 (diff)
Adjust the code according to the eo event stop changes.
This was changed in the previous commit.
Diffstat (limited to '')
-rw-r--r--src/tests/ecore/ecore_test_ecore_audio.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/tests/ecore/ecore_test_ecore_audio.c b/src/tests/ecore/ecore_test_ecore_audio.c
index 480e5a2..dda71e3 100644
--- a/src/tests/ecore/ecore_test_ecore_audio.c
+++ b/src/tests/ecore/ecore_test_ecore_audio.c
@@ -11,7 +11,7 @@
11 11
12#include "ecore_suite.h" 12#include "ecore_suite.h"
13 13
14static Eina_Bool _failed_cb(void *data, const Eo_Event *event EINA_UNUSED) 14static void _failed_cb(void *data, const Eo_Event *event EINA_UNUSED)
15{ 15{
16 Eina_Bool *pulse_context_failed = data; 16 Eina_Bool *pulse_context_failed = data;
17 17
@@ -21,22 +21,16 @@ static Eina_Bool _failed_cb(void *data, const Eo_Event *event EINA_UNUSED)
21 *pulse_context_failed = (pa_check == 0); 21 *pulse_context_failed = (pa_check == 0);
22 } 22 }
23 ecore_main_loop_quit(); 23 ecore_main_loop_quit();
24
25 return EINA_TRUE;
26} 24}
27 25
28static Eina_Bool _finished_cb(void *data EINA_UNUSED, const Eo_Event *event EINA_UNUSED) 26static void _finished_cb(void *data EINA_UNUSED, const Eo_Event *event EINA_UNUSED)
29{ 27{
30 ecore_main_loop_quit(); 28 ecore_main_loop_quit();
31
32 return EINA_TRUE;
33} 29}
34 30
35static Eina_Bool _looped_cb(void *data EINA_UNUSED, const Eo_Event *event) 31static void _looped_cb(void *data EINA_UNUSED, const Eo_Event *event)
36{ 32{
37 ecore_audio_obj_in_looped_set(event->object, EINA_FALSE); 33 ecore_audio_obj_in_looped_set(event->object, EINA_FALSE);
38
39 return EINA_TRUE;
40} 34}
41 35
42#ifdef HAVE_PULSE 36#ifdef HAVE_PULSE