Upgrade bluez5_37 :Merge the code from private
[platform/upstream/bluez.git] / profiles / audio / avrcp.h
index 28074db..86d310c 100644 (file)
@@ -74,9 +74,7 @@
 #define AVRCP_EVENT_TRACK_CHANGED              0x02
 #define AVRCP_EVENT_TRACK_REACHED_END          0x03
 #define AVRCP_EVENT_TRACK_REACHED_START                0x04
-#ifdef __TIZEN_PATCH__
-#define AVRCP_EVENT_PLAYBACK_POS_CHANGED               0x05
-#endif
+#define AVRCP_EVENT_PLAYBACK_POS_CHANGED       0x05
 #define AVRCP_EVENT_SETTINGS_CHANGED           0x08
 #define AVRCP_EVENT_AVAILABLE_PLAYERS_CHANGED  0x0a
 #define AVRCP_EVENT_ADDRESSED_PLAYER_CHANGED   0x0b
@@ -95,6 +93,7 @@ struct avrcp_player_cb {
        const char *(*get_status) (void *user_data);
        uint32_t (*get_position) (void *user_data);
        uint32_t (*get_duration) (void *user_data);
+       const char *(*get_name) (void *user_data);
        void (*set_volume) (uint8_t volume, struct btd_device *dev,
                                                        void *user_data);
        bool (*play) (void *user_data);
@@ -104,7 +103,7 @@ struct avrcp_player_cb {
        bool (*previous) (void *user_data);
 };
 
-int avrcp_set_volume(struct btd_device *dev, uint8_t volume);
+int avrcp_set_volume(struct btd_device *dev, uint8_t volume, bool notify);
 
 struct avrcp_player *avrcp_register_player(struct btd_adapter *adapter,
                                                struct avrcp_player_cb *cb,