Implement the event handling logic for AVC
[platform/core/connectivity/bluetooth-frwk.git] / bt-service-adaptation / services / audio / avrcp / bt-service-avrcp-tg.c
index 656bcbc..d360780 100644 (file)
@@ -532,17 +532,7 @@ static void __handle_transport_property_delay(unsigned int *value)
 static void __handle_transport_property_volume(unsigned int avrcp_volume)
 {
 #ifdef TIZEN_FEATURE_BT_AVC_TARGET
-       unsigned int system_volume = 0;
-
-       BT_DBG("+");
-
-       /* Need to add the logic for platform */
-
-       _bt_send_event(BT_AVRCP_EVENT,
-                       BLUETOOTH_EVENT_AVRCP_VOLUME_CHANGED,
-                       g_variant_new("(u)", system_volume));
-
-       BT_DBG("-");
+       _bt_audio_handle_transport_volume_changed(avrcp_volume);
 #endif
 }