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

Commit 51c389ad 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

parents 28912421 dc8fa56d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -7731,6 +7731,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);

@@ -7749,6 +7750,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();