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

Commit d2645ae7 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add support LE audio offload for HIDL 2.2"

parents 81c9e603 79c02160
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -157,7 +157,11 @@ Return<void> BluetoothAudioProvidersFactory::getProviderCapabilities_2_1(
        audio_capabilities[i].codecCapabilities(db_codec_capabilities[i]);
      }
    }
  } else if (sessionType != SessionType::UNKNOWN) {
  } else if (sessionType !=
                 SessionType::LE_AUDIO_HARDWARE_OFFLOAD_ENCODING_DATAPATH &&
             sessionType !=
                 SessionType::LE_AUDIO_HARDWARE_OFFLOAD_DECODING_DATAPATH &&
             sessionType != SessionType::UNKNOWN) {
    std::vector<PcmParameters> db_pcm_capabilities =
        android::bluetooth::audio::GetSoftwarePcmCapabilities_2_1();
    if (db_pcm_capabilities.size() == 1) {
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
#include <android-base/logging.h>

#include "BluetoothAudioSessionReport_2_2.h"
#include "BluetoothAudioSupportedCodecsDB_2_1.h"
#include "BluetoothAudioSupportedCodecsDB_2_2.h"

namespace android {
namespace hardware {
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@

#include "AudioPort_2_0_to_2_2_Wrapper.h"
#include "BluetoothAudioSessionReport_2_2.h"
#include "BluetoothAudioSupportedCodecsDB_2_1.h"
#include "BluetoothAudioSupportedCodecsDB_2_2.h"

namespace android {
namespace hardware {
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@

#include <android-base/logging.h>

#include "BluetoothAudioSupportedCodecsDB_2_1.h"
#include "BluetoothAudioSupportedCodecsDB_2_2.h"

namespace android {
namespace hardware {
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
#include <android-base/logging.h>

#include "BluetoothAudioSessionReport_2_2.h"
#include "BluetoothAudioSupportedCodecsDB_2_1.h"
#include "BluetoothAudioSupportedCodecsDB_2_2.h"

namespace android {
namespace hardware {
Loading