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

Commit 1fe46be6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add trace for duplicating thread write" into main am: dc8fa56d am: 51c389ad

parents 3570b809 51c389ad
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -7854,6 +7854,7 @@ void DuplicatingThread::threadLoop_sleepTime()

ssize_t DuplicatingThread::threadLoop_write()
{
    ATRACE_BEGIN("write");
    for (size_t i = 0; i < outputTracks.size(); i++) {
        const ssize_t actualWritten = outputTracks[i]->write(mSinkBuffer, writeFrames);

@@ -7872,6 +7873,7 @@ ssize_t DuplicatingThread::threadLoop_write()

        // TODO: Report correction for the other output tracks and show in the dump.
    }
    ATRACE_END();
    if (mStandby) {
        mThreadMetrics.logBeginInterval();
        mThreadSnapshot.onBegin();