Revert to remove callback 12/215312/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.015220 accepted/tizen/5.5/unified/mobile/hotfix/20201027.075334 accepted/tizen/unified/20191007.234846 submit/tizen/20191007.042728 submit/tizen_5.5/20191031.000005 submit/tizen_5.5_mobile_hotfix/20201026.185105 tizen_5.5.m2_release
authorwn.jang <wn.jang@samsung.com>
Mon, 7 Oct 2019 04:22:09 +0000 (13:22 +0900)
committerwn.jang <wn.jang@samsung.com>
Mon, 7 Oct 2019 04:22:09 +0000 (13:22 +0900)
Change-Id: I50478228c4b64ca1f1a3d3c2f912b6a5e9cd1794

server/vcd_recorder.c

index 27aed69..11343fb 100644 (file)
@@ -1025,6 +1025,9 @@ int vcd_recorder_start()
        if (NULL != g_current_audio_type) {
                if (0 == strncmp(VCE_AUDIO_ID_BLUETOOTH, g_current_audio_type, strlen(VCE_AUDIO_ID_BLUETOOTH))) {
 #ifdef TV_BT_MODE
+                       if (BT_ERROR_NONE != bt_hid_set_audio_data_receive_cb(_bt_hid_audio_data_receive_cb, NULL)) {
+                               SLOG(LOG_ERROR, TAG_VCD, "[Recorder ERROR] Fail bt_hid_set_audio_data_receive_cb()");
+                       }
                        SLOG(LOG_DEBUG, TAG_VCD, "[Recorder] Start bt audio");
                        g_bt_extend_count = 0;
                        started = true;