summaryrefslogtreecommitdiff
path: root/src/tests/ecore/ecore_test_ecore_audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/ecore/ecore_test_ecore_audio.c')
-rw-r--r--src/tests/ecore/ecore_test_ecore_audio.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/tests/ecore/ecore_test_ecore_audio.c b/src/tests/ecore/ecore_test_ecore_audio.c
index 1a88adf..23f638a 100644
--- a/src/tests/ecore/ecore_test_ecore_audio.c
+++ b/src/tests/ecore/ecore_test_ecore_audio.c
@@ -60,7 +60,7 @@ START_TEST(ecore_test_ecore_audio_obj_pulse)
60 in = efl_add(ECORE_AUDIO_IN_SNDFILE_CLASS, NULL); 60 in = efl_add(ECORE_AUDIO_IN_SNDFILE_CLASS, NULL);
61 fail_if(!in); 61 fail_if(!in);
62 62
63 ecore_audio_obj_name_set(in, "sample.wav"); 63 efl_name_set(in, "sample.wav");
64 ret = ecore_audio_obj_source_set(in, TESTS_SRC_DIR"/sample.wav"); 64 ret = ecore_audio_obj_source_set(in, TESTS_SRC_DIR"/sample.wav");
65 fail_if(!ret); 65 fail_if(!ret);
66 66
@@ -142,7 +142,7 @@ START_TEST(ecore_test_ecore_audio_obj_tone)
142 in = efl_add(ECORE_AUDIO_IN_TONE_CLASS, NULL); 142 in = efl_add(ECORE_AUDIO_IN_TONE_CLASS, NULL);
143 fail_if(!in); 143 fail_if(!in);
144 144
145 ecore_audio_obj_name_set(in, "tone"); 145 efl_name_set(in, "tone");
146 146
147 channel = ecore_audio_obj_in_channels_get(in); 147 channel = ecore_audio_obj_in_channels_get(in);
148 fail_if(channel != 1); 148 fail_if(channel != 1);
@@ -200,7 +200,7 @@ START_TEST(ecore_test_ecore_audio_obj_tone)
200 out = efl_add(ECORE_AUDIO_OUT_SNDFILE_CLASS, NULL); 200 out = efl_add(ECORE_AUDIO_OUT_SNDFILE_CLASS, NULL);
201 fail_if(!out); 201 fail_if(!out);
202 202
203 ecore_audio_obj_name_set(out, "tmp.wav"); 203 efl_name_set(out, "tmp.wav");
204 ret = ecore_audio_obj_format_set(out, ECORE_AUDIO_FORMAT_WAV); 204 ret = ecore_audio_obj_format_set(out, ECORE_AUDIO_FORMAT_WAV);
205 fail_if(!ret); 205 fail_if(!ret);
206 ret = ecore_audio_obj_source_set(out, TESTS_BUILD_DIR"/tmp.wav"); 206 ret = ecore_audio_obj_source_set(out, TESTS_BUILD_DIR"/tmp.wav");
@@ -246,7 +246,7 @@ START_TEST(ecore_test_ecore_audio_obj_sndfile)
246 ret = ecore_audio_obj_format_set(in, ECORE_AUDIO_FORMAT_AUTO); 246 ret = ecore_audio_obj_format_set(in, ECORE_AUDIO_FORMAT_AUTO);
247 fail_if(!ret); 247 fail_if(!ret);
248 248
249 ecore_audio_obj_name_set(in, "sample.ogg"); 249 efl_name_set(in, "sample.ogg");
250 ret = ecore_audio_obj_source_set(in, TESTS_SRC_DIR"/sample.ogg"); 250 ret = ecore_audio_obj_source_set(in, TESTS_SRC_DIR"/sample.ogg");
251 fail_if(!ret); 251 fail_if(!ret);
252 252
@@ -280,7 +280,7 @@ START_TEST(ecore_test_ecore_audio_obj_sndfile)
280 out = efl_add(ECORE_AUDIO_OUT_SNDFILE_CLASS, NULL); 280 out = efl_add(ECORE_AUDIO_OUT_SNDFILE_CLASS, NULL);
281 fail_if(!out); 281 fail_if(!out);
282 282
283 ecore_audio_obj_name_set(out, "tmp.wav"); 283 efl_name_set(out, "tmp.wav");
284 ret = ecore_audio_obj_format_set(out, ECORE_AUDIO_FORMAT_WAV); 284 ret = ecore_audio_obj_format_set(out, ECORE_AUDIO_FORMAT_WAV);
285 fail_if(!ret); 285 fail_if(!ret);
286 286
@@ -552,16 +552,16 @@ START_TEST(ecore_test_ecore_audio_obj)
552 552
553 fail_if(!obj); 553 fail_if(!obj);
554 554
555 name = ecore_audio_obj_name_get(obj); 555 name = efl_name_get(obj);
556 556
557 fail_if(name); 557 fail_if(name);
558 558
559 ecore_audio_obj_name_set(obj, "In1"); 559 efl_name_set(obj, "In1");
560 name = ecore_audio_obj_name_get(obj); 560 name = efl_name_get(obj);
561 561
562 ck_assert_str_eq(name, "In1"); 562 ck_assert_str_eq(name, "In1");
563 563
564 ecore_audio_obj_name_get(obj); 564 efl_name_get(obj);
565 565
566 paused = ecore_audio_obj_paused_get(obj); 566 paused = ecore_audio_obj_paused_get(obj);
567 fail_if(paused); 567 fail_if(paused);