Lines Matching full:volume

85 	LOG_DBG("Volume %u, mute %u, counter %u",  in read_vol_state()
86 vol_rend.state.volume, vol_rend.state.mute, in read_vol_state()
196 LOG_DBG("Relative Volume Down (0x%x)", opcode); 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()
204 LOG_DBG("Relative Volume Up (0x%x)", opcode); in write_vcs_control()
205 if (vol_rend.state.volume != UINT8_MAX) { in write_vcs_control()
206 vol_rend.state.volume = VOLUME_UP(vol_rend.state.volume); in write_vcs_control()
212 LOG_DBG("(Unmute) relative Volume Down (0x%x)", opcode); in write_vcs_control()
213 if (vol_rend.state.volume > 0) { in write_vcs_control()
214 vol_rend.state.volume = VOLUME_DOWN(vol_rend.state.volume); in write_vcs_control()
224 LOG_DBG("(Unmute) relative Volume Up (0x%x)", opcode); in write_vcs_control()
225 if (vol_rend.state.volume != UINT8_MAX) { in write_vcs_control()
226 vol_rend.state.volume = VOLUME_UP(vol_rend.state.volume); in write_vcs_control()
236 LOG_DBG("Set Absolute Volume (0x%x): Current volume %u", in write_vcs_control()
237 opcode, vol_rend.state.volume); in write_vcs_control()
238 if (vol_rend.state.volume != cp_val->volume) { in write_vcs_control()
239 vol_rend.state.volume = cp_val->volume; in write_vcs_control()
265 LOG_DBG("New state: volume %u, mute %u, counter %u", in write_vcs_control()
266 vol_rend.state.volume, vol_rend.state.mute, in write_vcs_control()
272 vol_rend.cb->state(conn, 0, vol_rend.state.volume, vol_rend.state.mute); in write_vcs_control()
309 /* Volume Control Service GATT Attributes */
478 vol_rend.state.volume = param->volume; in bt_vcp_vol_rend_register()
526 vol_rend.cb->state(NULL, 0, vol_rend.state.volume, vol_rend.state.mute); in bt_vcp_vol_rend_get_state()
593 int bt_vcp_vol_rend_set_vol(uint8_t volume) in bt_vcp_vol_rend_set_vol() argument
600 .volume = volume in bt_vcp_vol_rend_set_vol()