Loading services/audioflinger/Threads.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -6833,6 +6833,7 @@ reacquire_wakelock: goto unlock; } ALOG_ASSERT(framesRead > 0); mFramesRead += framesRead; #ifdef TEE_SINK (void)mTee.write((uint8_t*)mRsmpInBuffer + rear * mFrameSize, framesRead); Loading Loading @@ -7457,6 +7458,7 @@ void AudioFlinger::RecordThread::dumpInternals(int fd, const Vector<String16>& a audio_input_flags_t flags = input != NULL ? input->flags : AUDIO_INPUT_FLAG_NONE; dprintf(fd, " AudioStreamIn: %p flags %#x (%s)\n", input, flags, inputFlagsToString(flags).c_str()); dprintf(fd, " Frames read: %lld\n", (long long)mFramesRead); if (mActiveTracks.isEmpty()) { dprintf(fd, " No active record clients\n"); } Loading services/audioflinger/Threads.h +2 −0 Original line number Diff line number Diff line Loading @@ -1601,6 +1601,8 @@ private: bool mFastTrackAvail; // true if fast track available // common state to all record threads std::atomic_bool mBtNrecSuspended; int64_t mFramesRead = 0; // continuous running counter. }; class MmapThread : public ThreadBase Loading Loading
services/audioflinger/Threads.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -6833,6 +6833,7 @@ reacquire_wakelock: goto unlock; } ALOG_ASSERT(framesRead > 0); mFramesRead += framesRead; #ifdef TEE_SINK (void)mTee.write((uint8_t*)mRsmpInBuffer + rear * mFrameSize, framesRead); Loading Loading @@ -7457,6 +7458,7 @@ void AudioFlinger::RecordThread::dumpInternals(int fd, const Vector<String16>& a audio_input_flags_t flags = input != NULL ? input->flags : AUDIO_INPUT_FLAG_NONE; dprintf(fd, " AudioStreamIn: %p flags %#x (%s)\n", input, flags, inputFlagsToString(flags).c_str()); dprintf(fd, " Frames read: %lld\n", (long long)mFramesRead); if (mActiveTracks.isEmpty()) { dprintf(fd, " No active record clients\n"); } Loading
services/audioflinger/Threads.h +2 −0 Original line number Diff line number Diff line Loading @@ -1601,6 +1601,8 @@ private: bool mFastTrackAvail; // true if fast track available // common state to all record threads std::atomic_bool mBtNrecSuspended; int64_t mFramesRead = 0; // continuous running counter. }; class MmapThread : public ThreadBase Loading