From bbb8e044595d9d2f63ba6d00692d2664d67093a6 Mon Sep 17 00:00:00 2001 From: "wn.jang" Date: Mon, 7 Oct 2019 13:22:09 +0900 Subject: [PATCH] Revert to remove callback Change-Id: I50478228c4b64ca1f1a3d3c2f912b6a5e9cd1794 --- server/vcd_recorder.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/vcd_recorder.c b/server/vcd_recorder.c index 27aed69..11343fb 100644 --- a/server/vcd_recorder.c +++ b/server/vcd_recorder.c @@ -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; -- 2.7.4