Searched refs:pcm_config_ (Results 1 – 7 of 7) sorted by relevance
36 bool IsReady() { return pcm_config_.has_value(); }; in IsReady()46 if (pcm_config_.has_value()) { in InitEncoder()49 pcm_config_ = pcm_config; in InitEncoder()51 lc3_.pcm_format_ = (pcm_config_->bits_per_sample == 24) in InitEncoder()57 bt_codec_config_.data_interval_us, pcm_config_->sample_rate); in InitEncoder()61 pcm_config_->sample_rate, lc3_.codec_mem_.get()); in InitEncoder()79 if (pcm_config_.has_value()) { in InitDecoder()82 pcm_config_ = pcm_config; in InitDecoder()84 lc3_.pcm_format_ = (pcm_config_->bits_per_sample == 24) in InitDecoder()90 bt_codec_config_.data_interval_us, pcm_config_->sample_rate); in InitDecoder()[all …]
36 pcm_config_(std::move(pcm_config)),142 return pcm_config_; in LeAudioGetSelectedHalPcmConfig()149 pcm_config_.sample_rate = sample_rate_hz; in LeAudioSetSelectedHalPcmConfig()150 pcm_config_.bits_per_sample = bit_rate; in LeAudioSetSelectedHalPcmConfig()151 pcm_config_.channels_count = channels_count; in LeAudioSetSelectedHalPcmConfig()152 pcm_config_.data_interval_us = data_interval; in LeAudioSetSelectedHalPcmConfig()
81 PcmParameters pcm_config_; variable
111 pcm_config_(std::move(pcm_config)),244 return pcm_config_; in LeAudioGetSelectedHalPcmConfig()251 pcm_config_.sampleRate = le_audio_sample_rate2audio_hal(sample_rate_hz); in LeAudioSetSelectedHalPcmConfig()252 pcm_config_.bitsPerSample = le_audio_bits_per_sample2audio_hal(bit_rate); in LeAudioSetSelectedHalPcmConfig()253 pcm_config_.channelMode = le_audio_channel_mode2audio_hal(channels_count); in LeAudioSetSelectedHalPcmConfig()254 pcm_config_.dataIntervalUs = data_interval; in LeAudioSetSelectedHalPcmConfig()
101 PcmParameters pcm_config_; variable
72 pcm_config_(std::move(pcm_config)),290 return pcm_config_; in LeAudioGetSelectedHalPcmConfig()297 pcm_config_.sampleRateHz = (sample_rate_hz); in LeAudioSetSelectedHalPcmConfig()298 pcm_config_.bitsPerSample = (bit_rate); in LeAudioSetSelectedHalPcmConfig()299 pcm_config_.channelMode = le_audio_channel_mode2audio_hal(channels_count); in LeAudioSetSelectedHalPcmConfig()300 pcm_config_.dataIntervalUs = data_interval; in LeAudioSetSelectedHalPcmConfig()
121 PcmConfiguration pcm_config_; variable