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

Commit 973074eb authored by Phil Burk's avatar Phil Burk Committed by Android (Google) Code Review
Browse files

Merge "AudioPolicyManager: fix device enumeration" into nyc-dev

parents db52e5e3 702b105b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3637,6 +3637,7 @@ status_t AudioPolicyManager::checkOutputsForDevice(const sp<DeviceDescriptor> de
                    output = AUDIO_IO_HANDLE_NONE;
                } else if (profile->hasDynamicAudioProfile()) {
                    mpClientInterface->closeOutput(output);
                    output = AUDIO_IO_HANDLE_NONE;
                    profile->pickAudioProfile(config.sample_rate, config.channel_mask, config.format);
                    config.offload_info.sample_rate = config.sample_rate;
                    config.offload_info.channel_mask = config.channel_mask;