Home
last modified time | relevance | path

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

/Zephyr-latest/samples/bluetooth/bap_unicast_client/src/
Dstream_lc3.c45 (stream->lc3_tx.frame_duration_us * stream->lc3_tx.freq_hz) / USEC_PER_SEC; in fill_audio_buf_sin()
91 lc3_tx->frame_duration_us = (uint32_t)ret; in extract_lc3_config()
194 lc3_setup_encoder(stream->lc3_tx.frame_duration_us, stream->lc3_tx.freq_hz, 0, in stream_lc3_init()
Dstream_lc3.h25 uint32_t frame_duration_us; member
/Zephyr-latest/samples/bluetooth/bap_broadcast_source/src/
Dmain.c163 static int frame_duration_us; variable
250 frame_duration_us = bt_audio_codec_cfg_frame_dur_to_frame_dur_us(ret); in init_lc3_thread()
264 if (frame_duration_us < 0) { in init_lc3_thread()
276 fill_audio_buf_sin(send_pcm_data, frame_duration_us, AUDIO_TONE_FREQUENCY_HZ, freq_hz); in init_lc3_thread()
282 streams[i].lc3_encoder = lc3_setup_encoder(frame_duration_us, freq_hz, 0, in init_lc3_thread()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_broadcast_sink_test.c129 const int frame_duration_us = bt_audio_codec_cfg_frame_dur_to_frame_dur_us(ret); in valid_base_subgroup() local
131 if (frame_duration_us < 0) { in valid_base_subgroup()
133 frame_duration_us); in valid_base_subgroup()
474 const int frame_duration_us = bt_audio_codec_cfg_frame_dur_to_frame_dur_us(ret); in validate_stream_codec_cfg() local
476 if (frame_duration_us < 0) { in validate_stream_codec_cfg()
477 FAIL("Invalid frame duration value: %d (%d)\n", ret, frame_duration_us); in validate_stream_codec_cfg()
/Zephyr-latest/samples/bluetooth/bap_unicast_server/src/
Dmain.c380 int frame_duration_us; in lc3_enable() local
396 frame_duration_us = bt_audio_codec_cfg_frame_dur_to_frame_dur_us(ret); in lc3_enable()
407 lc3_decoder = lc3_setup_decoder(frame_duration_us, in lc3_enable()
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/
Dmain.c344 int frame_duration_us; in lc3_enable() local
360 frame_duration_us = bt_audio_codec_cfg_frame_dur_to_frame_dur_us(ret); in lc3_enable()
407 frame_duration_us, freq_hz, sink_stream->chan_allocation, in lc3_enable()
411 sink_stream->lc3_decoder = lc3_setup_decoder(frame_duration_us, freq_hz, USB_SAMPLE_RATE, in lc3_enable()
414 sink_stream->lc3_decoder = lc3_setup_decoder(frame_duration_us, freq_hz, 0, in lc3_enable()