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

Commit b741d7f8 authored by OzzysCmAcc's avatar OzzysCmAcc Committed by Ethan Chen
Browse files

hal: Define AUDIO_OUTPUT_FLAG_COMPRESS_PASSTHROUGH

* On every other branch this flag was added at this location with commit
  b27354b1 "hal: compilation fix for extended feature flags",
  however for LA.BF64.1.2.X, the equivalent commit:
  d5144f14 "hal: compilation fix for extended feature flags"
  did not add it, resulting from a prior divergence. Re-add the flag manually,
  since it is expected that the HAL provides this definition.
* LA.BF64, LA.BR generation HALs are not expected to have moved this
  flag to the current location as found in LA.UM.5.X HALs as they are not
  expected to have the following commits:
    21854657 "hal: add support for compress passthrough"
    cb6212e0 "hal: Add support for native-DSD and native sampling rates"
    591c2baf "qahw: test: Add support for playback of more file types"

Change-Id: I3e5aba03faaf6a878c7c914a57a47170b3ee18d8
parent 674b8cc3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -367,6 +367,7 @@ void audio_extn_dolby_send_ddp_endp_params(struct audio_device *adev);
#define audio_extn_dolby_get_passt_buffer_size(info)                       (0)
#define audio_extn_dolby_set_passt_volume(out, mute)                       (0)
#define audio_extn_dolby_set_passt_latency(out, latency)                   (0)
#define AUDIO_OUTPUT_FLAG_COMPRESS_PASSTHROUGH  0x4000
#else
int audio_extn_dolby_update_passt_formats(struct audio_device *adev,
                                          struct stream_out *out);