FifoRecorder: Implement IsRecordingDone()
This commit is contained in:
1 parent
aac1b386b9
commit
aa8bf71333
2 files changed
+7
No files matched your search
@@ -63,6 +63,11 @@ void FifoRecorder::StopRecording()
|
||||
m_RequestedRecordingEnd = true;
|
||||
}
|
||||
|
||||
bool FifoRecorder::IsRecordingDone() const
|
||||
{
|
||||
return m_WasRecording && m_File != nullptr;
|
||||
}
|
||||
|
||||
FifoDataFile* FifoRecorder::GetRecordedFile() const
|
||||
{
|
||||
return m_File.get();
|
||||
|
||||
@@ -20,6 +20,8 @@ public:
|
||||
void StartRecording(s32 numFrames, CallbackFunc finishedCb);
|
||||
void StopRecording();
|
||||
|
||||
bool IsRecordingDone() const;
|
||||
|
||||
FifoDataFile* GetRecordedFile() const;
|
||||
// Called from video thread
|
||||
|
||||
|
||||
Reference in new issue
Block a user