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>