summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Willmann <d.willmann@samsung.com>2013-03-22 17:28:56 +0000
committerDaniel Willmann <d.willmann@samsung.com>2013-03-22 17:28:56 +0000
commit8adcd71331c4924d9fc8a1ec6908017816c181fb (patch)
tree70292af308b04be20fca8fbee89b77e1dc6df351
parent27484f3c1b010cb15eb7d96929f135111d5466ce (diff)
downloadefl-devs/asdfuser/ecore_audio.tar.gz
edje_multisense: Support sample speeddevs/asdfuser/ecore_audio
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
-rw-r--r--src/lib/edje/edje_multisense.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/edje/edje_multisense.c b/src/lib/edje/edje_multisense.c
index 3e89e261ca..1ef85d0c6d 100644
--- a/src/lib/edje/edje_multisense.c
+++ b/src/lib/edje/edje_multisense.c
@@ -71,7 +71,7 @@ eet_snd_file_tell(Ecore_Audio_Object *in)
#endif
Eina_Bool
-_edje_multisense_internal_sound_sample_play(Edje *ed, const char *sample_name, const double speed EINA_UNUSED)
+_edje_multisense_internal_sound_sample_play(Edje *ed, const char *sample_name, const double speed)
{
#ifdef ENABLE_MULTISENSE
Ecore_Audio_Object *in;
@@ -99,6 +99,7 @@ _edje_multisense_internal_sound_sample_play(Edje *ed, const char *sample_name, c
snprintf(snd_id_str, sizeof(snd_id_str), "edje/sounds/%i", sample->id);
in = ecore_audio_input_add(ECORE_AUDIO_TYPE_SNDFILE);
ecore_audio_input_name_set(in, snd_id_str);
+ ecore_audio_input_speed_set(in, speed);
eet_data = calloc(1, sizeof(struct _edje_multisense_eet_data));
ef = eet_open(ed->file->path, EET_FILE_MODE_READ);