Lines Matching defs:volume

514      // Register for volume change on connect
1500 pavrc_cmd->volume.volume, label);
1534 btif_rc_cb.rc_volume=pavrc_resp->reg_notif.param.volume;
1535 HAL_CBACK(bt_rc_callbacks, volume_change_cb, pavrc_resp->reg_notif.param.volume,ctype)
1541 BTIF_TRACE_DEBUG("%s Set absolute volume change event received: volume %d,ctype %d",
1542 __FUNCTION__, pavrc_resp->volume.volume,ctype);
1544 btif_rc_cb.rc_volume=pavrc_resp->volume.volume;
1545 HAL_CBACK(bt_rc_callbacks,volume_change_cb,pavrc_resp->volume.volume,ctype)
1760 ** Description Send current volume setting to remote side.
1764 ** as opposed to absolute volume level
1765 ** volume: Should be in the range 0-127. bit7 is reseved and cannot be set
1770 static bt_status_t set_volume(uint8_t volume)
1777 if (btif_rc_cb.rc_volume==volume)
1780 BTIF_TRACE_ERROR("%s: volume value already set earlier: 0x%02x",__FUNCTION__, volume);
1790 BTIF_TRACE_DEBUG("%s: Peer supports absolute volume. newVolume=%d", __FUNCTION__, volume);
1791 avrc_cmd.volume.opcode = AVRC_OP_VENDOR;
1792 avrc_cmd.volume.pdu = AVRC_PDU_SET_ABSOLUTE_VOLUME;
1793 avrc_cmd.volume.status = AVRC_STS_NO_ERROR;
1794 avrc_cmd.volume.volume = volume;
1816 BTIF_TRACE_ERROR("%s: failed to build absolute volume command. status: 0x%02x",
1831 ** Description Register for volume change notification from remote side.
1929 /* re-register for volume change notification */
3846 avrc_rsp.volume.opcode = AVRC_OP_VENDOR;
3847 avrc_rsp.volume.pdu = AVRC_PDU_SET_ABSOLUTE_VOLUME;
3848 avrc_rsp.volume.status = AVRC_STS_NO_ERROR;
3849 avrc_rsp.volume.volume = abs_vol;
3897 avrc_rsp.reg_notif.param.volume = abs_vol;
4248 BTIF_TRACE_WARNING("%s: Absolute volume disabled by property", __func__);