Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e629602 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

leaudio: Add missing coding format

Bug: 331775328
Test: mmm packages/modules/Bluetooth
Flag: Exempt, trivial fix
Change-Id: I3fc890e12ca6750e48f61a094b3712fbf331572d
parent de95de35
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -401,6 +401,8 @@ static void fillRemotePacsCapabitiliesToBtLeAudioCodecConfig(
          if (!capa.IsAudioChannelCountsSupported(chan_bit)) continue;

          bluetooth::le_audio::btle_audio_codec_config_t config = {
              .codec_type = utils::translateBluetoothCodecFormatToCodecType(
                  record.codec_id.coding_format),
              .sample_rate = utils::translateToBtLeAudioCodecConfigSampleRate(
                  types::LeAudioCoreCodecConfig::GetSamplingFrequencyHz(
                      freq_bit)),