sound_manager_internal: Revise echo-cancellation API set 18/273418/5 accepted/tizen/unified/20220418.141248 submit/tizen/20220415.044607 submit/tizen/20220415.050245
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 5 Apr 2022 08:35:02 +0000 (17:35 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 5 Apr 2022 09:22:07 +0000 (18:22 +0900)
commit86839d238799a2e1622d43ded7f329343ecffca9
tree19b52e76ff804dc4f46027dc3a990d1d1d3f3ad7
parentea064cc67a73eef4d984aebeb346eaf885a2d041
sound_manager_internal: Revise echo-cancellation API set

sound_manager_get_echo_cancel_reference_device()
 - The second parameter is replaced to int* variable of device id.
   Because the device handle's lifecycle belongs to the device list.
 - It is changed not to occur error even if the setter function has
   not been called. Rather, SOUND_MANAGER_STREAM_NO_REFERENCE_DEVICE
   is newly added that will be returned to the out-parameter.

sound_manager_set_echo_cancel_reference_device()
 - SOUND_MANAGER_ERROR_POLICY error is added to notify the situation
   that the reference device handle is not supported by the stream info.

Logs for API result are added.
Missing null check is added.
Doxygen is improved.

[Version] 0.6.46
[Issue Type] Internal API

Change-Id: I04b935cb901fa3a5cbc1f47731496d051ee68a85
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
include/sound_manager_internal.h
include/sound_manager_private.h
packaging/capi-media-sound-manager.spec
src/sound_manager_internal.c
src/sound_manager_private.c