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

Unverified Commit dbaa7a1e authored by Eric Laurent's avatar Eric Laurent Committed by Michael Bestas
Browse files

add line out to device sharing codec backend

AUDIO_DEVICE_OUT_LINE was not listed in
AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND causing a loss of audio when
music was playing over line out and a ringtone playing over lineout and speaker
was stoppped.

Bug: 18903885.
Change-Id: I8c132db9cbfb17842a463600a2d0ced214244b72
parent 5a4c6f10
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -41,7 +41,8 @@ enum {
 */
#define AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND \
    (AUDIO_DEVICE_OUT_EARPIECE | AUDIO_DEVICE_OUT_SPEAKER | \
     AUDIO_DEVICE_OUT_WIRED_HEADSET | AUDIO_DEVICE_OUT_WIRED_HEADPHONE)
     AUDIO_DEVICE_OUT_WIRED_HEADSET | AUDIO_DEVICE_OUT_WIRED_HEADPHONE | \
     AUDIO_DEVICE_OUT_LINE)

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