Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/audio/
Dmicp_mic_ctlr.c51 static void micp_mic_ctlr_mute_changed(struct bt_micp_mic_ctlr *mic_ctlr, int err, uint8_t mute_val) in micp_mic_ctlr_mute_changed() argument
57 listener->mute(mic_ctlr, err, mute_val); in micp_mic_ctlr_mute_changed()
62 static void micp_mic_ctlr_mute_written(struct bt_micp_mic_ctlr *mic_ctlr, int err, uint8_t mute_val) in micp_mic_ctlr_mute_written() argument
67 if (mute_val == BT_MICP_MUTE_UNMUTED) { in micp_mic_ctlr_mute_written()
103 uint8_t *mute_val; in mute_notify_handler() local
113 if (length == sizeof(*mute_val)) { in mute_notify_handler()
114 mute_val = (uint8_t *)data; in mute_notify_handler()
115 LOG_DBG("Mute %u", *mute_val); in mute_notify_handler()
116 micp_mic_ctlr_mute_changed(mic_ctlr, 0, *mute_val); in mute_notify_handler()
119 LOG_DBG("Invalid length %u (expected %zu)", length, sizeof(*mute_val)); in mute_notify_handler()
[all …]