summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_multisense.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/edje/edje_multisense.c')
-rw-r--r--src/lib/edje/edje_multisense.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/edje/edje_multisense.c b/src/lib/edje/edje_multisense.c
index 58734e7..9227ff7 100644
--- a/src/lib/edje/edje_multisense.c
+++ b/src/lib/edje/edje_multisense.c
@@ -199,7 +199,7 @@ _edje_multisense_internal_sound_sample_play(Edje *ed, const char *sample_name, c
199 eet_data->vio.tell = eet_snd_file_tell; 199 eet_data->vio.tell = eet_snd_file_tell;
200 eet_data->offset = 0; 200 eet_data->offset = 0;
201 201
202 in = efl_add(ECORE_AUDIO_IN_SNDFILE_CLASS, NULL, ecore_audio_obj_name_set(efl_added, snd_id_str), ecore_audio_obj_in_speed_set(efl_added, speed), ecore_audio_obj_vio_set(efl_added, &eet_data->vio, eet_data, _free), efl_event_callback_add(efl_added, ECORE_AUDIO_IN_EVENT_IN_STOPPED, _play_finished, NULL)); 202 in = efl_add(ECORE_AUDIO_IN_SNDFILE_CLASS, NULL, efl_name_set(efl_added, snd_id_str), ecore_audio_obj_in_speed_set(efl_added, speed), ecore_audio_obj_vio_set(efl_added, &eet_data->vio, eet_data, _free), efl_event_callback_add(efl_added, ECORE_AUDIO_IN_EVENT_IN_STOPPED, _play_finished, NULL));
203 if (!out) 203 if (!out)
204 { 204 {
205 205
@@ -284,7 +284,7 @@ _edje_multisense_internal_sound_tone_play(Edje *ed, const char *tone_name, const
284 if (!strcmp(tone->name, tone_name)) 284 if (!strcmp(tone->name, tone_name))
285 { 285 {
286 in = efl_add(ECORE_AUDIO_IN_TONE_CLASS, NULL); 286 in = efl_add(ECORE_AUDIO_IN_TONE_CLASS, NULL);
287 ecore_audio_obj_name_set(in, "tone"); 287 efl_name_set(in, "tone");
288 efl_key_data_set(in, ECORE_AUDIO_ATTR_TONE_FREQ, &tone->value); 288 efl_key_data_set(in, ECORE_AUDIO_ATTR_TONE_FREQ, &tone->value);
289 ecore_audio_obj_in_length_set(in, duration); 289 ecore_audio_obj_in_length_set(in, duration);
290 efl_event_callback_add(in, ECORE_AUDIO_IN_EVENT_IN_STOPPED, _play_finished, NULL); 290 efl_event_callback_add(in, ECORE_AUDIO_IN_EVENT_IN_STOPPED, _play_finished, NULL);