forked from enlightenment/efl
tests: ecore_audio: move _finished_cb behind PULSE guard
This callback is only used from the pulse object test.
This commit is contained in:
parent
2ca5075193
commit
2a9c000859
|
@ -11,6 +11,17 @@
|
||||||
|
|
||||||
#include "ecore_suite.h"
|
#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)
|
static void _failed_cb(void *data, const Eo_Event *event EINA_UNUSED)
|
||||||
{
|
{
|
||||||
Eina_Bool *pulse_context_failed = data;
|
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();
|
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
|
static Eina_Bool
|
||||||
_seek_vol(void *data)
|
_seek_vol(void *data)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue