aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-07-05 10:42:05 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2016-07-05 11:14:30 +0200
commit2a9c000859129a0ebb9b2005869e2dc35a5ec2f9 (patch)
tree74aeae25ac7b1e84cf590967a66574221b5811f5
parentefreet - fix mime file path messing with short paths like / (diff)
downloadefl-2a9c000859129a0ebb9b2005869e2dc35a5ec2f9.tar.gz
tests: ecore_audio: move _finished_cb behind PULSE guard
This callback is only used from the pulse object test.
-rw-r--r--src/tests/ecore/ecore_test_ecore_audio.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/tests/ecore/ecore_test_ecore_audio.c b/src/tests/ecore/ecore_test_ecore_audio.c
index dda71e3be6..d0e8fc52b9 100644
--- a/src/tests/ecore/ecore_test_ecore_audio.c
+++ b/src/tests/ecore/ecore_test_ecore_audio.c
@@ -11,6 +11,17 @@
#include "ecore_suite.h"
+static void _finished_cb(void *data EINA_UNUSED, const Eo_Event *event EINA_UNUSED)
+{
+ ecore_main_loop_quit();
+}
+
+static void _looped_cb(void *data EINA_UNUSED, const Eo_Event *event)
+{
+ ecore_audio_obj_in_looped_set(event->object, EINA_FALSE);
+}
+
+#ifdef HAVE_PULSE
static void _failed_cb(void *data, const Eo_Event *event EINA_UNUSED)
{
Eina_Bool *pulse_context_failed = data;
@@ -23,17 +34,6 @@ static void _failed_cb(void *data, const Eo_Event *event EINA_UNUSED)
ecore_main_loop_quit();
}
-static void _finished_cb(void *data EINA_UNUSED, const Eo_Event *event EINA_UNUSED)
-{
- ecore_main_loop_quit();
-}
-
-static void _looped_cb(void *data EINA_UNUSED, const Eo_Event *event)
-{
- ecore_audio_obj_in_looped_set(event->object, EINA_FALSE);
-}
-
-#ifdef HAVE_PULSE
static Eina_Bool
_seek_vol(void *data)
{