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

Commit 3f00aeaa authored by Andy Hung's avatar Andy Hung Committed by Automerger Merge Worker
Browse files

Merge "AudioFlinger: Send down HW_AV_SYNC only if track has the flag" am:...

Merge "AudioFlinger: Send down HW_AV_SYNC only if track has the flag" am: 0d83baaa am: 184a3067 am: 33223031 am: b0ea9e92

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/1783809

Change-Id: I714e46c555090eac2efd9038acfc92a723116b3b
parents f9b5b733 b0ea9e92
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -997,9 +997,10 @@ status_t AudioFlinger::createTrack(const media::CreateTrackRequest& _input,
                }
            }
        }

        if ((output.flags & AUDIO_OUTPUT_FLAG_HW_AV_SYNC) == AUDIO_OUTPUT_FLAG_HW_AV_SYNC) {
            setAudioHwSyncForSession_l(thread, sessionId);
        }
    }

    if (lStatus != NO_ERROR) {
        // remove local strong reference to Client before deleting the Track so that the