forked from enlightenment/efl
edje-multisense: Don't fail if edje-multisense is not enabled
Ifdef all the functions that reference ecore_audio so this file can be compiled without ecore_audio enabled. Signed-off-by: Daniel Willmann <d.willmann@samsung.com> SVN revision: 83384
This commit is contained in:
parent
d3e6ba7b78
commit
003b7f12d8
|
@ -1,6 +1,8 @@
|
|||
#include "edje_private.h"
|
||||
#include "Ecore_Audio.h"
|
||||
|
||||
#ifdef ENABLE_MULTISENSE
|
||||
#include <sndfile.h>
|
||||
#include "Ecore_Audio.h"
|
||||
|
||||
static Ecore_Audio_Object *out = NULL;
|
||||
|
||||
|
@ -66,6 +68,7 @@ eet_snd_file_tell(Ecore_Audio_Object *in)
|
|||
|
||||
return vf->offset;
|
||||
}
|
||||
#endif
|
||||
|
||||
Eina_Bool
|
||||
_edje_multisense_internal_sound_sample_play(Edje *ed, const char *sample_name, const double speed EINA_UNUSED)
|
||||
|
|
Loading…
Reference in New Issue