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

Commit f3a80788 authored by Chen Chen's avatar Chen Chen
Browse files

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

Bug: 214615268
Test: Build
Tag: #feature
Change-Id: I4eb318b539c1b647b31d05d2f2a84c00d00f69f7
parent ae7b3607
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -137,11 +137,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();