/*
-* 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.
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;