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

Commit 4c2a1c2e authored by yucliu's avatar yucliu Committed by Yuchen Liu
Browse files

Add audio device type MULTICHANNEL_GROUP

Add audio device type MULTICHANNEL_GROUP for wireless speaker group
supporting multichannel content.

Flag: android.media.audio.enable_multichannel_group_device
Bug: 344031109
Test: atest CtsMediaAudioTestCases
Change-Id: I9a86bad61c350054fef883670c17509b07300ec8
parent 50cae8d9
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -480,6 +480,11 @@ const detail::AudioDevicePairs& getAudioDevicePairs() {
                        AudioDeviceType::OUT_BROADCAST,
                        GET_DEVICE_DESC_CONNECTION(BT_LE))
            },
            {
                AUDIO_DEVICE_OUT_MULTICHANNEL_GROUP, make_AudioDeviceDescription(
                        AudioDeviceType::OUT_MULTICHANNEL_GROUP,
                        GET_DEVICE_DESC_CONNECTION(VIRTUAL))
            },
            // AUDIO_DEVICE_IN_AMBIENT and IN_COMMUNICATION are removed since they were deprecated.
            {
                AUDIO_DEVICE_IN_BUILTIN_MIC, make_AudioDeviceDescription(