change BT produce api 98/144598/1 accepted/tizen/4.0/unified/20170829.015908 accepted/tizen/unified/20170821.051226 submit/tizen/20170818.013120 submit/tizen/20170818.092147 submit/tizen_4.0/20170828.100004
authorWonnam Jang <wn.jang@samsung.com>
Thu, 17 Aug 2017 08:03:29 +0000 (17:03 +0900)
committerWonnam Jang <wn.jang@samsung.com>
Thu, 17 Aug 2017 08:03:55 +0000 (17:03 +0900)
Change-Id: I1465356abb0e9d9fcc842655a20b485a00e30764
Signed-off-by: Wonnam Jang <wn.jang@samsung.com>
server/vcd_recorder.c

index 20c07d6..ce79fee 100644 (file)
@@ -376,7 +376,7 @@ int vcd_recorder_create(vcd_recoder_audio_cb audio_cb, vcd_recorder_interrupt_cb
 
        bool is_bt_failed = false;
 
-       if (false == is_bt_failed && BT_ERROR_NONE != bt_initialize()) {
+       if (false == is_bt_failed && BT_ERROR_NONE != bt_product_init()) {
                SLOG(LOG_ERROR, TAG_VCD, "[Recorder ERROR] Fail to init bt");
                is_bt_failed = true;
        }
@@ -444,7 +444,7 @@ int vcd_recorder_destroy()
 
        bt_hid_host_deinitialize();
 
-       bt_deinitialize();
+       bt_product_deinit();
 #endif
 
        g_audio_cb = NULL;