Merge "audio VTS: Use 'IN_DEFAULT' device type for telephony"

This commit is contained in:
Mikhail Naganov
2022-11-30 17:14:43 +00:00
committed by Gerrit Code Review

View File

@@ -1274,6 +1274,8 @@ class InputStreamTest
if (!xsd::isTelephonyDevice(address.deviceType)) {
metadata.source = toString(xsd::AudioSource::AUDIO_SOURCE_UNPROCESSED);
metadata.channelMask = getConfig().base.channelMask;
} else {
address.deviceType = toString(xsd::AudioDevice::AUDIO_DEVICE_IN_DEFAULT);
}
#if MAJOR_VERSION == 7 && MINOR_VERSION >= 1
auto flagsIt = std::find(flags.begin(), flags.end(),