Allow to set and get audio type even if multi-assistant mode is 53/210153/1
authorwn.jang <wn.jang@samsung.com>
Tue, 16 Jul 2019 07:28:48 +0000 (16:28 +0900)
committerwn.jang <wn.jang@samsung.com>
Tue, 16 Jul 2019 07:28:48 +0000 (16:28 +0900)
Change-Id: Idaff62063c27adb2f5db14cbf0986f4a5be6afdc
Signed-off-by: wn.jang <wn.jang@samsung.com>
server/vcd_recorder.c

index 7a85e9a..f487b16 100644 (file)
@@ -571,13 +571,6 @@ int vcd_recorder_destroy()
 
 int vcd_recorder_set(const char* audio_type, vce_audio_type_e type, int rate, int channel)
 {
-       vcd_audio_streaming_mode_e streaming_mode;
-       vcd_config_get_audio_streaming_mode(&streaming_mode);
-       if (VCD_AUDIO_STREAMING_MODE_MULTI_ASSISTANT == streaming_mode || VCD_AUDIO_STREAMING_MODE_OUTSIDE == streaming_mode) {
-               SLOG(LOG_DEBUG, TAG_VCD, "[Recorder] Current audio streaming mode(%d)", streaming_mode);
-               return VCD_ERROR_NONE;
-       }
-
        if (NULL == audio_type) {
                return VCD_ERROR_INVALID_PARAMETER;
        }
@@ -707,13 +700,6 @@ int vcd_recorder_set(const char* audio_type, vce_audio_type_e type, int rate, in
 
 int vcd_recorder_get(char** audio_type)
 {
-       vcd_audio_streaming_mode_e streaming_mode;
-       vcd_config_get_audio_streaming_mode(&streaming_mode);
-       if (VCD_AUDIO_STREAMING_MODE_MULTI_ASSISTANT == streaming_mode || VCD_AUDIO_STREAMING_MODE_OUTSIDE == streaming_mode) {
-               SLOG(LOG_DEBUG, TAG_VCD, "[Recorder] Current audio streaming mode(%d)", streaming_mode);
-               return VCD_ERROR_NONE;
-       }
-
        if (NULL == audio_type) {
                return VCD_ERROR_INVALID_PARAMETER;
        }