Home
last modified time | relevance | path

Searched refs:vol_rend (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/bluetooth/audio/
Dvcp_vol_rend.c47 ((uint8_t)MAX(0, (int)current_vol - vol_rend.volume_step))
49 ((uint8_t)MIN(UINT8_MAX, (int)current_vol + vol_rend.volume_step))
73 static struct bt_vcp_vol_rend vol_rend; variable
86 vol_rend.state.volume, vol_rend.state.mute, in read_vol_state()
87 vol_rend.state.change_counter); in read_vol_state()
90 &vol_rend.state, sizeof(vol_rend.state)); in read_vol_state()
190 if (cp_val->cp.counter != vol_rend.state.change_counter) { in write_vcs_control()
197 if (vol_rend.state.volume > 0) { in write_vcs_control()
198 vol_rend.state.volume = VOLUME_DOWN(vol_rend.state.volume); in write_vcs_control()
205 if (vol_rend.state.volume != UINT8_MAX) { in write_vcs_control()
[all …]