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)
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)
71#endif 71#endif
72 72
73Eina_Bool 73Eina_Bool
74_edje_multisense_internal_sound_sample_play(Edje *ed, const char *sample_name, const double speed EINA_UNUSED) 74_edje_multisense_internal_sound_sample_play(Edje *ed, const char *sample_name, const double speed)
75{ 75{
76 #ifdef ENABLE_MULTISENSE 76 #ifdef ENABLE_MULTISENSE
77 Ecore_Audio_Object *in; 77 Ecore_Audio_Object *in;
@@ -99,6 +99,7 @@ _edje_multisense_internal_sound_sample_play(Edje *ed, const char *sample_name, c
99 snprintf(snd_id_str, sizeof(snd_id_str), "edje/sounds/%i", sample->id); 99 snprintf(snd_id_str, sizeof(snd_id_str), "edje/sounds/%i", sample->id);
100 in = ecore_audio_input_add(ECORE_AUDIO_TYPE_SNDFILE); 100 in = ecore_audio_input_add(ECORE_AUDIO_TYPE_SNDFILE);
101 ecore_audio_input_name_set(in, snd_id_str); 101 ecore_audio_input_name_set(in, snd_id_str);
102 ecore_audio_input_speed_set(in, speed);
102 103
103 eet_data = calloc(1, sizeof(struct _edje_multisense_eet_data)); 104 eet_data = calloc(1, sizeof(struct _edje_multisense_eet_data));
104 ef = eet_open(ed->file->path, EET_FILE_MODE_READ); 105 ef = eet_open(ed->file->path, EET_FILE_MODE_READ);