mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 21:37:44 +00:00
Merge "Update audio VTS source code to match the change in AudioPolicyConfig" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ce3f17e662
@@ -40,7 +40,7 @@ struct ConfigHelper {
|
||||
return devs.getDevice(AUDIO_DEVICE_IN_BUILTIN_MIC, {}, AUDIO_FORMAT_DEFAULT);
|
||||
};
|
||||
auto primaryMic = getMic(policyConfig.getPrimaryModule()->getDeclaredDevices());
|
||||
auto availableMic = getMic(policyConfig.getAvailableInputDevices());
|
||||
auto availableMic = getMic(policyConfig.getInputDevices());
|
||||
|
||||
return primaryMic != nullptr && primaryMic->equals(availableMic);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user