Home
last modified time | relevance | path

Searched refs:mute (Results 1 – 25 of 58) sorted by relevance

123

/Zephyr-latest/subsys/bluetooth/audio/
Dmicp_mic_dev.c38 uint8_t mute; member
56 LOG_DBG("Mute %u", micp_inst.mute); in read_mute()
59 &micp_inst.mute, sizeof(micp_inst.mute)); in read_mute()
68 err = bt_gatt_notify_uuid(NULL, BT_UUID_MICS_MUTE, server->service_p->attrs, &server->mute, in notify_work_handler()
69 sizeof(server->mute)); in notify_work_handler()
94 if (len != sizeof(micp_inst.mute)) { in write_mute()
103 if (conn != NULL && micp_inst.mute == BT_MICP_MUTE_DISABLED) { in write_mute()
109 if (*val != micp_inst.mute) { in write_mute()
112 micp_inst.mute = *val; in write_mute()
119 if (micp_inst.cb != NULL && micp_inst.cb->mute != NULL) { in write_mute()
[all …]
Dvcp_vol_rend.c86 vol_rend.state.volume, vol_rend.state.mute, in read_vol_state()
217 if (vol_rend.state.mute) { in write_vcs_control()
218 vol_rend.state.mute = BT_VCP_STATE_UNMUTED; in write_vcs_control()
229 if (vol_rend.state.mute) { in write_vcs_control()
230 vol_rend.state.mute = BT_VCP_STATE_UNMUTED; in write_vcs_control()
246 if (vol_rend.state.mute) { in write_vcs_control()
247 vol_rend.state.mute = BT_VCP_STATE_UNMUTED; in write_vcs_control()
253 if (vol_rend.state.mute == BT_VCP_STATE_UNMUTED) { in write_vcs_control()
254 vol_rend.state.mute = BT_VCP_STATE_MUTED; in write_vcs_control()
266 vol_rend.state.volume, vol_rend.state.mute, in write_vcs_control()
[all …]
Daics.c130 inst->srv.state.mute, inst->srv.state.gain_mode, inst->srv.state.change_counter); in read_aics_state()
298 if (inst->srv.state.mute == BT_AICS_STATE_MUTE_DISABLED) { in write_aics_control()
301 if (inst->srv.state.mute != BT_AICS_STATE_UNMUTED) { in write_aics_control()
302 inst->srv.state.mute = BT_AICS_STATE_UNMUTED; in write_aics_control()
308 if (inst->srv.state.mute == BT_AICS_STATE_MUTE_DISABLED) { in write_aics_control()
311 if (inst->srv.state.mute != BT_AICS_STATE_MUTED) { in write_aics_control()
312 inst->srv.state.mute = BT_AICS_STATE_MUTED; in write_aics_control()
344 inst->srv.state.gain, inst->srv.state.mute, inst->srv.state.gain_mode, in write_aics_control()
351 inst->srv.state.mute, in write_aics_control()
480 CHECKIF(param->mute > BT_AICS_STATE_MUTE_DISABLED) { in bt_aics_register()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dmicp.h137 void (*mute)(uint8_t mute); member
188 void (*mute)(struct bt_micp_mic_ctlr *mic_ctlr, int err, uint8_t mute); member
Dvcp.h93 uint8_t mute; member
173 void (*state)(struct bt_conn *conn, int err, uint8_t volume, uint8_t mute);
290 uint8_t mute);
356 void (*mute)(struct bt_vcp_vol_ctlr *vol_ctlr, int err); member
Daics.h137 uint8_t mute; member
248 uint8_t mute, uint8_t mode);
347 bt_aics_write_cb mute; member
/Zephyr-latest/samples/bluetooth/tmap_bmr/src/
Dvcp_vol_renderer.c22 static void vcs_state_cb(struct bt_conn *conn, int err, uint8_t volume, uint8_t mute) in vcs_state_cb() argument
27 printk("VCS volume %u, mute %u\n", volume, mute); in vcs_state_cb()
53 vcp_register_param.mute = BT_VCP_STATE_UNMUTED; in vcp_vol_renderer_init()
/Zephyr-latest/samples/bluetooth/tmap_peripheral/src/
Dvcp_vol_renderer.c22 static void vcs_state_cb(struct bt_conn *conn, int err, uint8_t volume, uint8_t mute) in vcs_state_cb() argument
27 printk("VCS volume %u, mute %u\n", volume, mute); in vcs_state_cb()
53 vcp_register_param.mute = BT_VCP_STATE_UNMUTED; in vcp_vol_renderer_init()
/Zephyr-latest/samples/bluetooth/hap_ha/src/
Dmicp_mic_dev.c19 static void micp_mic_dev_mute_cb(uint8_t mute) in micp_mic_dev_mute_cb() argument
21 printk("Mute value %u\n", mute); in micp_mic_dev_mute_cb()
25 .mute = micp_mic_dev_mute_cb,
31 static void micp_mic_dev_aics_state_cb(struct bt_aics *inst, int err, int8_t gain, uint8_t mute, in micp_mic_dev_aics_state_cb() argument
38 inst, gain, mute, mode); in micp_mic_dev_aics_state_cb()
Dvcp_vol_renderer.c21 static void vcs_state_cb(struct bt_conn *conn, int err, uint8_t volume, uint8_t mute) in vcs_state_cb() argument
26 printk("VCS volume %u, mute %u\n", volume, mute); in vcs_state_cb()
39 static void aics_state_cb(struct bt_aics *inst, int err, int8_t gain, uint8_t mute, uint8_t mode) in aics_state_cb() argument
45 inst, gain, mute, mode); in aics_state_cb()
163 vcp_register_param.mute = BT_VCP_STATE_UNMUTED; in vcp_vol_renderer_init()
/Zephyr-latest/drivers/audio/
Dwm8904.h80 #define WM8904_REGVAL_OUT_VOL(mute, vu, zc, vol) \ argument
81 (((mute & 0b1) << 8) | (vu & 0b1) << 7 | (zc & 0b1) << 6 | (vol & 0b000111111))
92 #define WM8904_REGVAL_IN_VOL(mute, vol) \ argument
93 ((mute & 0b1) << 7 | (vol & 0b00011111))
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_micp.c73 static void btp_send_micp_mute_state_ev(struct bt_conn *conn, uint8_t att_status, uint8_t mute) in btp_send_micp_mute_state_ev() argument
80 ev.mute = mute; in btp_send_micp_mute_state_ev()
85 static void micp_mic_ctlr_mute_cb(struct bt_micp_mic_ctlr *mic_ctlr, int err, uint8_t mute) in micp_mic_ctlr_mute_cb() argument
89 mute_state = mute; in micp_mic_ctlr_mute_cb()
156 .mute = micp_mic_ctlr_mute_cb,
347 static void btp_send_mics_mute_state_ev(uint8_t mute) in btp_send_mics_mute_state_ev() argument
351 ev.mute = mute; in btp_send_mics_mute_state_ev()
356 static void mic_dev_mute_cb(uint8_t mute) in mic_dev_mute_cb() argument
360 btp_send_mics_mute_state_ev(mute); in mic_dev_mute_cb()
364 .mute = mic_dev_mute_cb,
[all …]
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/boards/
Dnrf52833dk_nrf52833.overlay7 mic-feature-mute;
11 hp-feature-mute;
Dnrf52840dongle_nrf52840.overlay7 mic-feature-mute;
11 hp-feature-mute;
Dnrf5340dk_nrf5340_cpuapp.overlay7 mic-feature-mute;
11 hp-feature-mute;
/Zephyr-latest/samples/bluetooth/bap_broadcast_source/boards/
Dnrf52833dk_nrf52833.overlay7 mic-feature-mute;
11 hp-feature-mute;
Dnrf52840dongle_nrf52840.overlay7 mic-feature-mute;
11 hp-feature-mute;
Dnrf5340dk_nrf5340_cpuapp.overlay7 mic-feature-mute;
11 hp-feature-mute;
/Zephyr-latest/tests/bluetooth/shell/boards/
Dnrf5340dk_nrf5340_cpuapp.overlay7 mic-feature-mute;
11 hp-feature-mute;
/Zephyr-latest/samples/subsys/usb/audio/headphones_microphone/
Dapp.overlay10 feature-mute;
21 feature-mute;
/Zephyr-latest/samples/subsys/usb/audio/headset/
Dapp.overlay10 mic-feature-mute;
14 hp-feature-mute;
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/
Dcap.rst247 such as mute or volume states.
263 change_volume_mute :Change volume mute state on all connections <mute>
266 change_microphone_mute :Change microphone mute state on all connections <mute>
303 VCP volume 15, mute 0
305 VCP volume 15, mute 0
344 Setting the volume mute on all connected devices
364 Setting volume mute to 1 on 2 connections
365 VCP volume 100, mute 1
366 VCP mute done
367 VCP volume 100, mute 1
[all …]
/Zephyr-latest/samples/bluetooth/tmap_central/src/
Dvcp_vol_ctlr.c39 uint8_t volume, uint8_t mute) in vcs_state_cb() argument
46 printk("VCS volume %u, mute %u\n", volume, mute); in vcs_state_cb()
64 .mute = vcs_write_cb,
/Zephyr-latest/tests/bluetooth/tester/src/audio/btp/
Dbtp_mics.h22 uint8_t mute; member
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dmicp_mic_ctlr_test.c45 uint8_t mute, uint8_t mode) in aics_state_cb() argument
53 g_aics_input_mute = mute; in aics_state_cb()
164 uint8_t mute) in micp_mic_ctlr_mute_cb() argument
171 g_mute = mute; in micp_mic_ctlr_mute_cb()
177 .mute = micp_mic_ctlr_mute_cb,
188 .mute = aics_write_cb,

123