We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32e8392 commit 2c5a249Copy full SHA for 2c5a249
subsys/bluetooth/audio/bap_stream.c
@@ -160,11 +160,13 @@ enum bt_bap_ascs_reason bt_audio_verify_qos(const struct bt_codec_qos *qos)
160
return BT_BAP_ASCS_REASON_SDU;
161
}
162
163
+#if defined(CONFIG_BT_BAP_BROADCAST_SOURCE) || defined(CONFIG_BT_BAP_UNICAST)
164
if (qos->latency < BT_ISO_LATENCY_MIN ||
165
qos->latency > BT_ISO_LATENCY_MAX) {
166
LOG_DBG("Invalid Latency %u", qos->latency);
167
return BT_BAP_ASCS_REASON_LATENCY;
168
169
+#endif /* CONFIG_BT_BAP_BROADCAST_SOURCE || CONFIG_BT_BAP_UNICAST */
170
171
if (qos->pd > BT_AUDIO_PD_MAX) {
172
LOG_DBG("Invalid presentation delay %u", qos->pd);
0 commit comments