Check the streaming mode properly 48/266848/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Fri, 19 Nov 2021 09:32:02 +0000 (18:32 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Fri, 19 Nov 2021 09:32:04 +0000 (18:32 +0900)
commit9c9ac37d85f65241f792bd366180e617f05c5975
tree15b106752bf5a6dbc9c551cbb76a9c8d6740b6f3
parent3d7abd5f8ecba9a7a08257dc3875666d9c9e818a
Check the streaming mode properly

There is two cases to get sound data. One is recording sound data from dependency audio manager.
And the other is getting from manager app using IPC. Streaming mode helps to identify this two
situation.

- Using dependency audio manager :
  VCD_AUDIO_STREAMING_MODE_VC_SERVICE, VCD_AUDIO_STREAMING_MODE_MULTI_ASSISTANT
- Using IPC from voice control manager :
  VCD_AUDIO_STREAMING_MODE_OUTSIDE

This patch fixes the check code to make each function works with proper streaming mode.

Change-Id: Ief6c07e18ba3ba7a8c10f210fa868ff7948ce046
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
server/vcd_recorder.c