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

Commit bfa64966 authored by Andy Hung's avatar Andy Hung
Browse files

AudioFlinger: Enable input hal logging

Test: adb shell dumpsys media.audio_flinger
Bug: 62307033
Change-Id: I9e7816e6cd8258b76379d511f1c96b81e3fe736e
parent 12852bd1
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -6924,6 +6924,12 @@ void AudioFlinger::RecordThread::dumpInternals(int fd, const Vector<String16>& a
    if (mActiveTracks.size() == 0) {
        dprintf(fd, "  No active record clients\n");
    }

    if (input != nullptr) {
        dprintf(fd, "  Hal stream dump:\n");
        (void)input->stream->dump(fd);
    }

    dprintf(fd, "  Fast capture thread: %s\n", hasFastCapture() ? "yes" : "no");
    dprintf(fd, "  Fast track available: %s\n", mFastTrackAvail ? "yes" : "no");