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

Commit 7f877d42 authored by Eric Laurent's avatar Eric Laurent
Browse files

audio vts: update with new audio policy class

Bug: 111812273
Test: make
Change-Id: I2daae7401269d2fff59f0ecf69a45b62873ef1a1
parent fea020ad
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -428,7 +428,8 @@ class AudioConfigPrimaryTest : public AudioPatchPrimaryHidlTest {
        if (policyConfig.getStatus() != OK || policyConfig.getPrimaryModule() == nullptr) {
            return true;  // Could not get the information, run all tests
        }
        auto getMic = [](auto& devs) { return devs.getDevice(AUDIO_DEVICE_IN_BUILTIN_MIC, {}); };
        auto getMic = [](auto& devs) { return devs.getDevice(
                AUDIO_DEVICE_IN_BUILTIN_MIC, {}, AUDIO_FORMAT_DEFAULT); };
        auto primaryMic = getMic(policyConfig.getPrimaryModule()->getDeclaredDevices());
        auto availableMic = getMic(policyConfig.getAvailableInputDevices());