Home | History | Annotate | Download | only in src

Lines Matching refs:volume

166  * IOP issues of absolute volume feature
167 * We encoutered A2DP headsets/carkits advertising absolute volume but buggy.
380 // Register for volume change on connect
1164 btif_rc_cb.rc_volume=pavrc_resp->reg_notif.param.volume;
1165 HAL_CBACK(bt_rc_callbacks, volume_change_cb, pavrc_resp->reg_notif.param.volume,ctype)
1171 BTIF_TRACE_DEBUG("Set absolute volume change event received: volume %d,ctype %d",
1172 pavrc_resp->volume.volume,ctype);
1174 btif_rc_cb.rc_volume=pavrc_resp->volume.volume;
1175 HAL_CBACK(bt_rc_callbacks,volume_change_cb,pavrc_resp->volume.volume,ctype)
1371 ** Description Send current volume setting to remote side.
1373 ** This can be enhanced to support Relative Volume (AVRCP 1.0).
1375 ** as opposed to absolute volume level
1376 ** volume: Should be in the range 0-127. bit7 is reseved and cannot be set
1381 static bt_status_t set_volume(uint8_t volume)
1388 if(btif_rc_cb.rc_volume==volume)
1391 BTIF_TRACE_ERROR("%s: volume value already set earlier: 0x%02x",__FUNCTION__, volume);
1401 BTIF_TRACE_DEBUG("%s: Peer supports absolute volume. newVolume=%d", __FUNCTION__, volume);
1402 avrc_cmd.volume.opcode = AVRC_OP_VENDOR;
1403 avrc_cmd.volume.pdu = AVRC_PDU_SET_ABSOLUTE_VOLUME;
1404 avrc_cmd.volume.status = AVRC_STS_NO_ERROR;
1405 avrc_cmd.volume.volume = volume;
1428 BTIF_TRACE_ERROR("%s: failed to build absolute volume command. status: 0x%02x",
1443 ** Description Register for volume change notification from remote side.
1546 /* re-register for volume change notification */
1828 ** Description Blacklist Devices that donot handle absolute volume well
1843 BTIF_TRACE_DEBUG("whitelist absolute volume for %02x:%02x:%02x",
1854 BTIF_TRACE_DEBUG("whitelist absolute volume for %s", dev_name_str);
1860 BTIF_TRACE_WARNING("blacklist absolute volume for %02x:%02x:%02x, name = %s",