Implement set / get volume logic from transport
[platform/core/connectivity/bluetooth-frwk.git] / bt-oal / hardware / bt_rc.h
index 6c38d02..006aa91 100644 (file)
@@ -501,7 +501,9 @@ typedef struct {
         ** With RelateVolume, we will send VOLUME_UP/VOLUME_DOWN opposed to absolute volume level
         ** volume: Should be in the range 0-127. bit7 is reseved and cannot be set
         */
-       bt_status_t (*set_volume)(uint8_t volume);
+       bt_status_t (*set_volume)(bt_bdaddr_t *bd_addr, uint32_t volume);
+
+       bt_status_t (*get_volume)(bt_bdaddr_t *bd_addr, uint32_t *volume);
 
        /* Set addressed player response from TG to CT */
        bt_status_t (*set_addressed_player_rsp)(bt_bdaddr_t *bd_addr, btrc_status_t rsp_status);