asdfuser pushed a commit to branch master.
commit 262c67b56d1f05991b3dcb3ae8c0eb34c0426ce3
Author: Daniel Willmann <[email protected]>
Date: Fri Mar 22 17:28:56 2013 +0000
edje_multisense: Support sample speed
Signed-off-by: Daniel Willmann <[email protected]>
---
src/lib/edje/edje_multisense.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/lib/edje/edje_multisense.c b/src/lib/edje/edje_multisense.c
index 1925c89..04ba014 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);
--
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html