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

Commit 1c7637ef authored by Eric Laurent's avatar Eric Laurent
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 cc4f6bfb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -25,7 +25,8 @@
#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_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