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

Commit e703914a authored by yucliu's avatar yucliu Committed by Android Build Cherrypicker Worker
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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4c2a1c2e689b6311a40fa7b21bc88f75165932d5)
Merged-In: I9a86bad61c350054fef883670c17509b07300ec8
Change-Id: I9a86bad61c350054fef883670c17509b07300ec8
parent 87559380
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -478,6 +478,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(