Home
last modified time | relevance | path

Searched refs:sampling_frequency (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/system/bta/le_audio/
Dle_audio_utils.cc526 if (!caps.HasSupportedSamplingFrequencies() || !config.sampling_frequency) { in IsCodecConfigSupported()
531 config.sampling_frequency.value())) { in IsCodecConfigSupported()
533 config.sampling_frequency.value()); in IsCodecConfigSupported()
Dle_audio_types.h567 std::optional<uint8_t> sampling_frequency; member
591 if (sampling_frequency) in GetSamplingFrequencyHz()
592 return sampling_freq_map.count(*sampling_frequency) in GetSamplingFrequencyHz()
593 ? sampling_freq_map.at(*sampling_frequency) in GetSamplingFrequencyHz()
908 sizeof(decltype(core.sampling_frequency)::value_type))) { in LtvMapToCoreCodecConfig()
910 STREAM_TO_UINT8(core.sampling_frequency, ptr); in LtvMapToCoreCodecConfig()
Ddevices_test.cc505 Add(setting.id, *core_config.sampling_frequency, in Add()
1127 void TestAsesActive(LeAudioCodecId codec_id, uint8_t sampling_frequency, in TestAsesActive() argument
1144 ASSERT_EQ(core_config.sampling_frequency, sampling_frequency); in TestAsesActive()
1190 uint8_t sampling_frequency = GetSamplingFrequency(sf_variant); in TestLc3CodecConfig() local
1197 pac_builder.Add(LeAudioCodecIdLc3, sampling_frequency, in TestLc3CodecConfig()
1226 TestAsesActive(LeAudioCodecIdLc3, sampling_frequency, in TestLc3CodecConfig()
Dle_audio_types_test.cc240 ASSERT_TRUE(config.sampling_frequency.has_value()); in TEST()
241 ASSERT_EQ(0x08, config.sampling_frequency.value()); in TEST()
Dcodec_manager.cc848 if (adsp_lc3_config.sampling_frequency != in IsLc3ConfigMatched()
849 target_lc3_config.sampling_frequency || in IsLc3ConfigMatched()
Dle_audio_types.cc691 << loghex(*config.sampling_frequency) in operator <<()
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dle_audio_utils.cc148 if (stack_config.sampling_frequency.has_value()) { in GetAidlCodecSpecificConfigurationFromStack()
153 stack_config.sampling_frequency.value())); in GetAidlCodecSpecificConfigurationFromStack()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_le_audio.cpp856 jint sampling_frequency = getSamplingFrequencyOrDefault(metadata, 0); in prepareLeAudioCodecConfigMetadataObject() local
869 audio_location, sampling_frequency, frame_duration, octets_per_frame, in prepareLeAudioCodecConfigMetadataObject()