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

Commit 2ba8dee9 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "audio: Disallow HiFi record for input stream created with FAST flag"

parents 20a5bac5 5986218a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -6497,8 +6497,9 @@ static bool adev_input_allow_hifi_record(struct audio_device *adev,

    switch (flags) {
        case AUDIO_INPUT_FLAG_NONE:
        case AUDIO_INPUT_FLAG_FAST: // just fast, not fast|raw || fast|mmap
            break;
        case AUDIO_INPUT_FLAG_FAST: // disallow hifi record for FAST as
                                    // it affects RTD numbers over USB
        default:
            return !allowed;
    }