Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.6.0/subsys/bluetooth/audio/
Dmicp_mic_dev.c29 uint8_t mute; member
47 LOG_DBG("Mute %u", micp_inst.mute); in read_mute()
50 &micp_inst.mute, sizeof(micp_inst.mute)); in read_mute()
59 err = bt_gatt_notify_uuid(NULL, BT_UUID_MICS_MUTE, server->service_p->attrs, &server->mute, in notify_work_handler()
60 sizeof(server->mute)); in notify_work_handler()
85 if (len != sizeof(micp_inst.mute)) { in write_mute()
94 if (conn != NULL && micp_inst.mute == BT_MICP_MUTE_DISABLED) { in write_mute()
100 if (*val != micp_inst.mute) { in write_mute()
103 micp_inst.mute = *val; in write_mute()
110 if (micp_inst.cb != NULL && micp_inst.cb->mute != NULL) { in write_mute()
[all …]
Dvcp_vol_rend.c70 vol_rend.state.volume, vol_rend.state.mute, in read_vol_state()
201 if (vol_rend.state.mute) { in write_vcs_control()
202 vol_rend.state.mute = BT_VCP_STATE_UNMUTED; in write_vcs_control()
213 if (vol_rend.state.mute) { in write_vcs_control()
214 vol_rend.state.mute = BT_VCP_STATE_UNMUTED; in write_vcs_control()
230 if (vol_rend.state.mute) { in write_vcs_control()
231 vol_rend.state.mute = BT_VCP_STATE_UNMUTED; in write_vcs_control()
237 if (vol_rend.state.mute == BT_VCP_STATE_UNMUTED) { in write_vcs_control()
238 vol_rend.state.mute = BT_VCP_STATE_MUTED; in write_vcs_control()
250 vol_rend.state.volume, vol_rend.state.mute, in write_vcs_control()
[all …]
Daics.c118 inst->srv.state.mute, inst->srv.state.gain_mode, inst->srv.state.change_counter); in read_aics_state()
286 if (inst->srv.state.mute == BT_AICS_STATE_MUTE_DISABLED) { in write_aics_control()
289 if (inst->srv.state.mute != BT_AICS_STATE_UNMUTED) { in write_aics_control()
290 inst->srv.state.mute = BT_AICS_STATE_UNMUTED; in write_aics_control()
296 if (inst->srv.state.mute == BT_AICS_STATE_MUTE_DISABLED) { in write_aics_control()
299 if (inst->srv.state.mute != BT_AICS_STATE_MUTED) { in write_aics_control()
300 inst->srv.state.mute = BT_AICS_STATE_MUTED; in write_aics_control()
332 inst->srv.state.gain, inst->srv.state.mute, inst->srv.state.gain_mode, in write_aics_control()
339 inst->srv.state.mute, in write_aics_control()
468 CHECKIF(param->mute > BT_AICS_STATE_MUTE_DISABLED) { in bt_aics_register()
[all …]
Dmicp_mic_ctlr.c46 if (listener->mute) { in micp_mic_ctlr_mute_changed()
47 listener->mute(mic_ctlr, err, mute_val); in micp_mic_ctlr_mute_changed()
169 static void micp_mic_ctlr_aics_state_cb(struct bt_aics *inst, int err, int8_t gain, uint8_t mute, in micp_mic_ctlr_aics_state_cb() argument
176 listener->aics_cb.state(inst, err, gain, mute, mode); in micp_mic_ctlr_aics_state_cb()
282 if (listener->aics_cb.mute) { in micp_mic_ctlr_aics_mute_cb()
283 listener->aics_cb.mute(inst, err); in micp_mic_ctlr_aics_mute_cb()
553 .mute = micp_mic_ctlr_aics_mute_cb, in bt_micp_mic_ctlr_discover()
692 int bt_micp_mic_ctlr_write_mute(struct bt_micp_mic_ctlr *mic_ctlr, bool mute) in bt_micp_mic_ctlr_write_mute() argument
708 mic_ctlr->mute_val_buf[0] = mute; in bt_micp_mic_ctlr_write_mute()
711 mic_ctlr->write_params.length = sizeof(mute); in bt_micp_mic_ctlr_write_mute()
/Zephyr-Core-3.6.0/include/zephyr/bluetooth/audio/
Dmicp.h109 void (*mute)(uint8_t mute); member
155 void (*mute)(struct bt_micp_mic_ctlr *mic_ctlr, int err, uint8_t mute); member
Dvcp.h56 uint8_t mute; member
129 void (*state)(int err, uint8_t volume, uint8_t mute);
239 uint8_t mute);
305 void (*mute)(struct bt_vcp_vol_ctlr *vol_ctlr, int err); member
Daics.h71 uint8_t mute; member
180 uint8_t mute, uint8_t mode);
265 bt_aics_write_cb mute; member
/Zephyr-Core-3.6.0/samples/bluetooth/tmap_peripheral/src/
Dvcp_vol_renderer.c22 static void vcs_state_cb(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-Core-3.6.0/samples/bluetooth/tmap_bmr/src/
Dvcp_vol_renderer.c22 static void vcs_state_cb(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-Core-3.6.0/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(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-Core-3.6.0/tests/bluetooth/tester/src/
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 …]
Dbtp_vcp.c54 uint16_t mute; member
123 static uint8_t mute(const void *cmd, uint16_t cmd_len, in mute() function
147 static void vcs_state_cb(int err, uint8_t volume, uint8_t mute) in vcs_state_cb() argument
187 .func = mute,
440 uint8_t mute, uint8_t mode) in aics_state_cb() argument
510 vcp_register_param.mute = BT_VCP_STATE_UNMUTED; in set_register_params()
585 uint8_t mute) in btp_send_vcp_state_ev() argument
593 ev.mute = mute; in btp_send_vcp_state_ev()
695 uint8_t mute) in vcp_vol_ctlr_state_cb() argument
700 btp_send_vcp_state_ev(conn, err, volume, mute); in vcp_vol_ctlr_state_cb()
[all …]
/Zephyr-Core-3.6.0/samples/bluetooth/broadcast_audio_source/boards/
Dnrf52833dk_nrf52833.overlay7 mic-feature-mute;
11 hp-feature-mute;
Dnrf52840dongle_nrf52840.overlay7 mic-feature-mute;
11 hp-feature-mute;
/Zephyr-Core-3.6.0/samples/subsys/usb/audio/headphones_microphone/
Dapp.overlay10 feature-mute;
21 feature-mute;
/Zephyr-Core-3.6.0/samples/subsys/usb/audio/headset/
Dapp.overlay10 mic-feature-mute;
14 hp-feature-mute;
/Zephyr-Core-3.6.0/samples/bluetooth/tmap_central/src/
Dvcp_vol_ctlr.c31 uint8_t volume, uint8_t mute) in vcs_state_cb() argument
38 printk("VCS volume %u, mute %u\n", volume, mute); in vcs_state_cb()
56 .mute = vcs_write_cb,
/Zephyr-Core-3.6.0/tests/bluetooth/tester/src/btp/
Dbtp_mics.h22 uint8_t mute; member
Dbtp_aics.h23 void btp_send_aics_state_ev(struct bt_conn *conn, uint8_t att_status, int8_t gain, uint8_t mute,
105 uint8_t mute; member
Dbtp_micp.h48 uint8_t mute; member
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/audio/src/
Dmicp_mic_ctlr_test.c38 uint8_t mute, uint8_t mode) in aics_state_cb() argument
46 g_aics_input_mute = mute; in aics_state_cb()
157 uint8_t mute) in micp_mic_ctlr_mute_cb() argument
164 g_mute = mute; in micp_mic_ctlr_mute_cb()
170 .mute = micp_mic_ctlr_mute_cb,
181 .mute = aics_write_cb,
Dmicp_mic_dev_test.c33 static void micp_mute_cb(uint8_t mute) in micp_mute_cb() argument
35 g_mute = mute; in micp_mute_cb()
40 .mute = micp_mute_cb,
45 uint8_t mute, uint8_t mode) in aics_state_cb() argument
53 g_aics_input_mute = mute; in aics_state_cb()
/Zephyr-Core-3.6.0/subsys/bluetooth/audio/shell/
Dmicp_mic_ctlr.c63 uint8_t mute) in micp_mic_ctlr_mute_cb() argument
68 shell_print(ctx_shell, "Mute value %u", mute); in micp_mic_ctlr_mute_cb()
129 int8_t gain, uint8_t mute, uint8_t mode) in micp_mic_ctlr_aics_state_cb() argument
136 "mode %u", inst, gain, mute, mode); in micp_mic_ctlr_aics_state_cb()
199 .mute = micp_mic_ctlr_mute_cb,
211 .mute = micp_mic_ctlr_aics_mute_cb,
683 SHELL_CMD_ARG(mute, NULL,
Dmicp_mic_dev.c19 static void micp_mic_dev_mute_cb(uint8_t mute) in micp_mic_dev_mute_cb() argument
21 shell_print(ctx_shell, "Mute value %u", mute); in micp_mic_dev_mute_cb()
25 .mute = micp_mic_dev_mute_cb,
32 int8_t gain, uint8_t mute, uint8_t mode) in micp_mic_dev_aics_state_cb() argument
39 "mode %u", inst, gain, mute, mode); in micp_mic_dev_aics_state_cb()
608 SHELL_CMD_ARG(mute, NULL,

12