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

Commit 522f9526 authored by Chen Chen's avatar Chen Chen Committed by Automerger Merge Worker
Browse files

Merge "SpatialAudio: Remove codec interface from audio HAL. Codec switch logic...

Merge "SpatialAudio: Remove codec interface from audio HAL. Codec switch logic will be inside Bluetooth" am: fd8896f8

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1982892

Change-Id: I0d726f364e8043754e3a3c0d48e87aa48891fdaa
parents 48a39b2d fd8896f8
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -140,11 +140,6 @@ ndk::ScopedAStatus BluetoothAudioPortImpl::setLatencyMode(
  return ndk::ScopedAStatus::ok();
}

ndk::ScopedAStatus BluetoothAudioPortImpl::setCodecType(
    CodecType codec_type) {
  return ndk::ScopedAStatus::ok();
}

PresentationPosition::TimeSpec BluetoothAudioPortImpl::timespec_convert_to_hal(
    const timespec& ts) {
  return {.tvSec = static_cast<int64_t>(ts.tv_sec),
+0 −2
Original line number Diff line number Diff line
@@ -54,8 +54,6 @@ class BluetoothAudioPortImpl : public BnBluetoothAudioPort {

  ndk::ScopedAStatus setLatencyMode(LatencyMode latency_mode) override;

  ndk::ScopedAStatus setCodecType(CodecType codec_type) override;

 protected:
  virtual ~BluetoothAudioPortImpl();