Modify noise suppression functionality
[platform/core/api/audio-io.git] / test / audio_io_test.c
index b1f81b9..a339872 100644 (file)
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+* Copyright (c) 2023 Samsung Electronics Co., Ltd All Rights Reserved
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
@@ -314,7 +314,7 @@ static void *_record_echo_cancel_thread(void *userdata)
                        goto out;
                }
 
-               ret = sound_manager_set_echo_cancel_reference_device(stream_info, device);
+               ret = sound_manager_set_echo_cancel_reference_device(stream_info, device, SOUND_ACOUSTIC_ECHO_CANCEL_VOICE_CALL);
                if (ret != SOUND_MANAGER_ERROR_NONE) {
                        printf("fail to sound_manager_set_echo_cancel_reference_device(), ret(0x%x)\n", ret);
                        goto out;