Skip to content

Bluetooth: Audio: return volume in vol_set callback #71614

@koffes

Description

@koffes

In the struct bt_vcp_vol_ctlr_cb the vol_set callback https://github.com/zephyrproject-rtos/zephyr/blob/b62180261421cb1b62c8954bdeb3148fdfaca541/include/zephyr/bluetooth/audio/vcp.h#L349`

should include the volume. This is available in 'vol_ctlr->cp_val.volume'.

This change will make it a lot easier to cope with absolute volume adjustments.

Metadata

Metadata

Assignees

Projects

Status

To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions