Add interfaces for BT AVC feature (AVRCP Target)
[platform/core/connectivity/bluetooth-frwk.git] / bt-service-adaptation / services / include / bt-service-audio-common.h
index 176ce4d..bb39cca 100644 (file)
@@ -48,6 +48,11 @@ typedef enum {
 } bt_audio_type_t;
 
 typedef enum {
+       BT_A2DP_SOURCE_ROLE = 0,
+       BT_A2DP_SINK_ROLE,
+} bt_a2dp_role_t;
+
+typedef enum {
        SERVICE_SEARCH_NOT_STARTED,
        SERVICE_SEARCH_STARTED,
        SERVICE_SEARCH_DONE,
@@ -125,6 +130,20 @@ int _bt_audio_select_role(bluetooth_audio_role_t role);
 
 void _bt_audio_set_current_role(bluetooth_audio_role_t role);
 
+#ifdef TIZEN_FEATURE_BT_AVC_TARGET
+typedef enum {
+       BT_AVC_OFF = 0x00,
+       BT_AVC_NULL,
+       BT_AVC_MAX
+} bt_avc_mode_t;
+
+int _bt_audio_set_absolute_volume(unsigned int volume);
+
+int _bt_audio_get_absolute_volume(unsigned int *volume);
+
+int _bt_audio_is_avc_activated(bool *activated);
+#endif
+
 int _bt_hf_connect(bluetooth_device_address_t *device_address);
 
 int _bt_hf_disconnect(bluetooth_device_address_t *device_address);