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

Commit 0d865112 authored by Lorena Torres-Huerta's avatar Lorena Torres-Huerta
Browse files

Remote Submix Out is not a permanently attached device, and thus

requires a non-empty string for its connection.

Bug: 205884982
Test: m
Change-Id: If6591a41b23a31ff4036ec6d21f4e3ce29a46bb9
parent d69e9fa3
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -477,6 +477,15 @@ const detail::AudioDevicePairs& getAudioDevicePairs() {
            {
                AUDIO_DEVICE_IN_ECHO_REFERENCE, make_AudioDeviceDescription(
                        AudioDeviceType::IN_ECHO_REFERENCE)
            },
            {
                AUDIO_DEVICE_IN_REMOTE_SUBMIX, make_AudioDeviceDescription(
                         AudioDeviceType::IN_SUBMIX)
            },
            {
                AUDIO_DEVICE_OUT_REMOTE_SUBMIX, make_AudioDeviceDescription(
                        AudioDeviceType::OUT_SUBMIX,
                        GET_DEVICE_DESC_CONNECTION(VIRTUAL))
            }
        }};
        append_AudioDeviceDescription(pairs,
@@ -494,9 +503,6 @@ const detail::AudioDevicePairs& getAudioDevicePairs() {
                AUDIO_DEVICE_IN_HDMI, AUDIO_DEVICE_OUT_HDMI,
                AudioDeviceType::IN_DEVICE, AudioDeviceType::OUT_DEVICE,
                GET_DEVICE_DESC_CONNECTION(HDMI));
        append_AudioDeviceDescription(pairs,
                AUDIO_DEVICE_IN_REMOTE_SUBMIX, AUDIO_DEVICE_OUT_REMOTE_SUBMIX,
                AudioDeviceType::IN_SUBMIX, AudioDeviceType::OUT_SUBMIX);
        append_AudioDeviceDescription(pairs,
                AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET, AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET,
                AudioDeviceType::IN_DOCK, AudioDeviceType::OUT_DOCK,