summaryrefslogtreecommitdiff
path: root/src/tests/ecore/ecore_test_ecore_audio.c
diff options
context:
space:
mode:
authorDaniel Willmann <d.willmann@samsung.com>2013-04-18 19:21:05 +0100
committerDaniel Willmann <d.willmann@samsung.com>2013-04-18 19:32:46 +0100
commite99ab4623a936e06758ae837fadd183d89d8c5d1 (patch)
tree2a92e90b4b14a9e1a3161caaf39d6d2d09872cd2 /src/tests/ecore/ecore_test_ecore_audio.c
parent43299ade4582fe5f56517a60aa93a0ceef34a82b (diff)
ecore_audio: Add return value to input_attach method
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Diffstat (limited to 'src/tests/ecore/ecore_test_ecore_audio.c')
-rw-r--r--src/tests/ecore/ecore_test_ecore_audio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/ecore/ecore_test_ecore_audio.c b/src/tests/ecore/ecore_test_ecore_audio.c
index fe3641a..f5a384d 100644
--- a/src/tests/ecore/ecore_test_ecore_audio.c
+++ b/src/tests/ecore/ecore_test_ecore_audio.c
@@ -350,7 +350,7 @@ START_TEST(ecore_test_ecore_audio_obj_tone)
350 eo_do(out, ecore_audio_obj_format_set(ECORE_AUDIO_FORMAT_WAV)); 350 eo_do(out, ecore_audio_obj_format_set(ECORE_AUDIO_FORMAT_WAV));
351 eo_do(out, ecore_audio_obj_source_set(SOUNDS_DIR"/tmp.wav")); 351 eo_do(out, ecore_audio_obj_source_set(SOUNDS_DIR"/tmp.wav"));
352 352
353 eo_do(out, ecore_audio_obj_out_input_attach(in)); 353 eo_do(out, ecore_audio_obj_out_input_attach(in, NULL));
354 354
355 eo_do(in, eo_event_callback_add(ECORE_AUDIO_EV_IN_STOPPED, _finished_cb, NULL)); 355 eo_do(in, eo_event_callback_add(ECORE_AUDIO_EV_IN_STOPPED, _finished_cb, NULL));
356 356
@@ -407,7 +407,7 @@ START_TEST(ecore_test_ecore_audio_obj_in_out)
407 407
408 fail_if(eina_list_count(in3) != 0); 408 fail_if(eina_list_count(in3) != 0);
409 409
410 fail_if(!eo_do(out, ecore_audio_obj_out_input_attach(in))); 410 fail_if(!eo_do(out, ecore_audio_obj_out_input_attach(in, NULL)));
411 411
412 fail_if(!eo_do(in, ecore_audio_obj_in_output_get(&out2))); 412 fail_if(!eo_do(in, ecore_audio_obj_in_output_get(&out2)));
413 413
@@ -418,7 +418,7 @@ START_TEST(ecore_test_ecore_audio_obj_in_out)
418 fail_if(eina_list_count(in3) != 1); 418 fail_if(eina_list_count(in3) != 1);
419 fail_if(eina_list_data_get(in3) != in); 419 fail_if(eina_list_data_get(in3) != in);
420 420
421 fail_if(!eo_do(out, ecore_audio_obj_out_input_attach(in2))); 421 fail_if(!eo_do(out, ecore_audio_obj_out_input_attach(in2, NULL)));
422 422
423 fail_if(!eo_do(out, ecore_audio_obj_out_inputs_get(&in3))); 423 fail_if(!eo_do(out, ecore_audio_obj_out_inputs_get(&in3)));
424 424