Add event for recording state in ar recorder

This commit is contained in:
Georg Hagen
2024-08-14 21:49:06 +02:00
parent 5134dcb2fb
commit 42f7a96f43
2 changed files with 5 additions and 0 deletions

View File

@@ -182,6 +182,7 @@ namespace OpenVulkano::AR
platformInfoStream.close();
}
m_recording = true;
OnRecordingStateChanged(this, m_recording);
}
void ArRecorder::Stop()
@@ -192,6 +193,7 @@ namespace OpenVulkano::AR
{
writer->Split();
}
OnRecordingStateChanged(this, m_recording);
}
void ArRecorder::SetRecordingPath(const std::filesystem::path& path)