/* Add data from the connected list */
_bt_add_headset_to_list(BT_AUDIO_A2DP, BT_STATE_CONNECTED, addr);
-#ifdef TIZEN_FEATURE_BT_AVC_TARGET
/* Send the information to Absolute Volume Controller */
_bt_audio_handle_a2dp_state_changed(addr, true);
-#endif
/* Delete waiting device data if present */
wait_device = _bt_get_audio_wait_data();
/* Remove data from the connected list */
_bt_remove_headset_from_list(BT_AUDIO_A2DP, addr);
-#ifdef TIZEN_FEATURE_BT_AVC_TARGET
/* Send the information to Absolute Volume Controller */
_bt_audio_handle_a2dp_state_changed(addr, false);
-#endif
_bt_connection_manager_set_state(addr, BLUETOOTH_EVENT_AV_DISCONNECTED);