Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/bta/le_audio/
Dcodec_manager.cc419 bluetooth::le_audio::broadcast_offload_config broadcast_config; in UpdateSupportedBroadcastConfig() local
420 broadcast_config.stream_map.resize(adsp_audio_set_conf.confs.sink.size()); in UpdateSupportedBroadcastConfig()
425 for (auto& [_, channels] : broadcast_config.stream_map) { in UpdateSupportedBroadcastConfig()
432 broadcast_config.bits_per_sample = in UpdateSupportedBroadcastConfig()
434 broadcast_config.sampling_rate = core_config.GetSamplingFrequencyHz(); in UpdateSupportedBroadcastConfig()
435 broadcast_config.frame_duration = core_config.GetFrameDurationUs(); in UpdateSupportedBroadcastConfig()
436 broadcast_config.octets_per_frame = *(core_config.octets_per_codec_frame); in UpdateSupportedBroadcastConfig()
437 broadcast_config.blocks_per_sdu = 1; in UpdateSupportedBroadcastConfig()
439 int sample_rate = broadcast_config.sampling_rate; in UpdateSupportedBroadcastConfig()
440 int frame_duration = broadcast_config.frame_duration; in UpdateSupportedBroadcastConfig()
[all …]
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dbroadcaster.cc994 const auto& broadcast_config = broadcast->GetBroadcastConfig(); in OnStateMachineEvent() local
997 audio_receiver_.CheckAndReconfigureEncoders(broadcast_config); in OnStateMachineEvent()
1001 broadcast_config.GetAudioHalClientConfig(), &audio_receiver_); in OnStateMachineEvent()
1126 const BroadcastConfiguration& broadcast_config) { in CheckAndReconfigureEncoders() argument
1133 auto codec_config = broadcast_config.GetAudioHalClientConfig(); in CheckAndReconfigureEncoders()
1139 auto const& subgroup_config = broadcast_config.subgroups.at(0); in CheckAndReconfigureEncoders()
1159 broadcast_config_ = broadcast_config; in CheckAndReconfigureEncoders()