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

Commit 8c8d0cf4 authored by Eric Laurent's avatar Eric Laurent
Browse files

Revert "hal: update AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND for 8084 platform"

This reverts commit 1ff0fb1b.

Bug: 21581860.
parent 7aa15ea3
Loading
Loading
Loading
Loading
+3 −9
Original line number Diff line number Diff line
@@ -18,21 +18,15 @@
#define QCOM_AUDIO_PLATFORM_H

/*
 * Below are the devices that share the same back end.
 * It is not possible route different streams to different
 * devices that share the same backend.
 * Below are the devices for which is back end is same, SLIMBUS_0_RX.
 * All these devices are handled by the internal HW codec. We can
 * enable any one of these devices at any time
 */
#ifdef PLATFORM_MSM8084
#define AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND \
    (AUDIO_DEVICE_OUT_EARPIECE | AUDIO_DEVICE_OUT_SPEAKER | \
     AUDIO_DEVICE_OUT_SPEAKER_SAFE)
#else
#define AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND \
    (AUDIO_DEVICE_OUT_EARPIECE | AUDIO_DEVICE_OUT_SPEAKER | \
     AUDIO_DEVICE_OUT_SPEAKER_SAFE | \
     AUDIO_DEVICE_OUT_WIRED_HEADSET | AUDIO_DEVICE_OUT_WIRED_HEADPHONE | \
     AUDIO_DEVICE_OUT_LINE)
#endif

/* Sound devices specific to the platform
 * The DEVICE_OUT_* and DEVICE_IN_* should be mapped to these sound