Searched refs:lc3_tx (Results 1 – 2 of 2) sorted by relevance
45 (stream->lc3_tx.frame_duration_us * stream->lc3_tx.freq_hz) / USEC_PER_SEC; in fill_audio_buf_sin()46 const int sine_period_samples = stream->lc3_tx.freq_hz / AUDIO_TONE_FREQUENCY_HZ; in fill_audio_buf_sin()59 struct stream_lc3_tx *lc3_tx = &stream->lc3_tx; in extract_lc3_config() local69 lc3_tx->freq_hz = (uint32_t)ret; in extract_lc3_config()91 lc3_tx->frame_duration_us = (uint32_t)ret; in extract_lc3_config()108 ret = bt_audio_codec_cfg_get_chan_allocation(codec_cfg, &lc3_tx->chan_allocation, false); in extract_lc3_config()111 lc3_tx->chan_allocation = BT_AUDIO_LOCATION_MONO_AUDIO; in extract_lc3_config()114 lc3_tx->chan_cnt = bt_audio_get_chan_count(lc3_tx->chan_allocation); in extract_lc3_config()118 lc3_tx->frame_blocks_per_sdu = (uint8_t)ret; in extract_lc3_config()123 lc3_tx->octets_per_frame = (uint16_t)ret; in extract_lc3_config()[all …]
24 struct stream_lc3_tx lc3_tx; member