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

Commit a55147af authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Use default sample rate for DIRECT Audio thread" am: 4c47d319 am: 4d603ca3

Change-Id: I013ef1947d7abcbf6c5a1134dc78c6b6a088dd81
parents d46124d0 4d603ca3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -622,7 +622,7 @@ status_t AudioFlinger::EffectModule::configure()
    mConfig.outputCfg.format = EFFECT_BUFFER_FORMAT;

    // Don't use sample rate for thread if effect isn't offloadable.
    if ((thread->type() == ThreadBase::OFFLOAD) && !isOffloaded()) {
    if (isOffloadedOrDirect() && !isOffloaded()) {
        mConfig.inputCfg.samplingRate = DEFAULT_OUTPUT_SAMPLE_RATE;
        ALOGV("Overriding effect input as 48kHz");
    } else {