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

Commit ea87c8a5 authored by Mikhail Naganov's avatar Mikhail Naganov Committed by Automerger Merge Worker
Browse files

audio VTS: Use 'IN_DEFAULT' device type for telephony am: 715b8ec2

parents 33d2a7d4 715b8ec2
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -1274,6 +1274,8 @@ class InputStreamTest
        if (!xsd::isTelephonyDevice(address.deviceType)) {
        if (!xsd::isTelephonyDevice(address.deviceType)) {
            metadata.source = toString(xsd::AudioSource::AUDIO_SOURCE_UNPROCESSED);
            metadata.source = toString(xsd::AudioSource::AUDIO_SOURCE_UNPROCESSED);
            metadata.channelMask = getConfig().base.channelMask;
            metadata.channelMask = getConfig().base.channelMask;
        } else {
            address.deviceType = toString(xsd::AudioDevice::AUDIO_DEVICE_IN_DEFAULT);
        }
        }
#if MAJOR_VERSION == 7 && MINOR_VERSION >= 1
#if MAJOR_VERSION == 7 && MINOR_VERSION >= 1
        auto flagsIt = std::find(flags.begin(), flags.end(),
        auto flagsIt = std::find(flags.begin(), flags.end(),