Home
last modified time | relevance | path

Searched refs:core_config (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Bluetooth/system/bta/le_audio/
Dle_audio_types.cc546 if (!core_config) { in GetAsCoreCodecConfig()
547 core_config = LtvMapToCoreCodecConfig(*this); in GetAsCoreCodecConfig()
549 return *core_config; in GetAsCoreCodecConfig()
554 log::assert_that(!core_config, in GetAsCoreCodecCapabilities()
565 log::assert_that(!core_config, in GetAsLeAudioMetadata()
Dstate_machine.cc1375 auto core_config = ase->codec_config.GetAsCoreCodecConfig(); in AddCisToStreamConfiguration() local
1380 if (!core_config.audio_channel_allocation.has_value()) { in AddCisToStreamConfiguration()
1384 core_config.audio_channel_allocation.value_or(0); in AddCisToStreamConfiguration()
1390 params.sample_frequency_hz = core_config.GetSamplingFrequencyHz(); in AddCisToStreamConfiguration()
1393 params.sample_frequency_hz == core_config.GetSamplingFrequencyHz(), in AddCisToStreamConfiguration()
1395 core_config.GetSamplingFrequencyHz()); in AddCisToStreamConfiguration()
1399 params.octets_per_codec_frame = *core_config.octets_per_codec_frame; in AddCisToStreamConfiguration()
1402 params.octets_per_codec_frame == *core_config.octets_per_codec_frame, in AddCisToStreamConfiguration()
1404 *core_config.octets_per_codec_frame); in AddCisToStreamConfiguration()
1409 *core_config.codec_frames_blocks_per_sdu; in AddCisToStreamConfiguration()
[all …]
Dle_audio_set_configuration_provider_json.cc384 const auto& core_config = subconfig.codec.params.GetAsCoreCodecConfig(); in processSubconfig() local
387 core_config.octets_per_codec_frame.value_or(0) * in processSubconfig()
388 core_config.codec_frames_blocks_per_sdu.value_or(1); in processSubconfig()
389 subconfig.qos.sduIntervalUs = core_config.GetFrameDurationUs(); in processSubconfig()
Ddevices_test.cc503 const LeAudioCoreCodecConfig core_config = in Add() local
505 Add(setting.id, *core_config.sampling_frequency, in Add()
506 *core_config.frame_duration, audio_channel_counts, in Add()
507 *core_config.octets_per_codec_frame); in Add()
1143 auto core_config = ase.codec_config.GetAsCoreCodecConfig(); in TestAsesActive() local
1144 ASSERT_EQ(core_config.sampling_frequency, sampling_frequency); in TestAsesActive()
1145 ASSERT_EQ(core_config.frame_duration, frame_duration); in TestAsesActive()
1146 ASSERT_EQ(core_config.octets_per_codec_frame, octets_per_frame); in TestAsesActive()
2158 auto core_config = ase->codec_config.GetAsCoreCodecConfig(); in TEST_P() local
2160 .sink = *core_config.audio_channel_allocation, in TEST_P()
[all …]
Dcodec_manager.cc417 const types::LeAudioCoreCodecConfig core_config = in UpdateSupportedBroadcastConfig() local
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()
Dle_audio_client_test.cc985 auto core_config = ase.codec_config.GetAsCoreCodecConfig(); in SetUpMockGroups() local
1001 *core_config.audio_channel_allocation)); in SetUpMockGroups()
1011 ase.cis_conn_hdl, *core_config.audio_channel_allocation, in SetUpMockGroups()
1027 *core_config.audio_channel_allocation)); in SetUpMockGroups()
1037 ase.cis_conn_hdl, *core_config.audio_channel_allocation, in SetUpMockGroups()
1113 auto core_config = ase.codec_config.GetAsCoreCodecConfig(); in SetUpMockGroups() local
1132 *core_config.audio_channel_allocation)); in SetUpMockGroups()
1138 *core_config.audio_channel_allocation; in SetUpMockGroups()
1143 core_config.GetSamplingFrequencyHz(); in SetUpMockGroups()
1147 core_config.GetSamplingFrequencyHz(), in SetUpMockGroups()
[all …]
Dle_audio_types.h712 core_config(std::nullopt), in LeAudioLtvMap()
826 core_config = std::nullopt; in invalidate()
1031 mutable std::optional<struct LeAudioCoreCodecConfig> core_config = variable