Add ArRecorder logic
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
*/
|
||||
|
||||
#include "ArFramePlayback.hpp"
|
||||
#include "ArSessionPlayback.h"
|
||||
#include "ArSessionPlayback.hpp"
|
||||
#include "Base/BlockProfiler.hpp"
|
||||
|
||||
namespace openVulkanoCpp::AR::Playback
|
||||
{
|
||||
ArFramePlayback::ArFramePlayback(const std::shared_ptr<ArSessionPlayback>& session, ArPlaybackReader& frameReader)
|
||||
: ArFrame(session)
|
||||
: ArFrame(session, frameReader.GetNextFrameId())
|
||||
{
|
||||
BlockProfiler profile("Read_AR_Frame");
|
||||
const auto data = frameReader.ReadMetadata();
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#include "ArSessionPlayback.h"
|
||||
#include "ArSessionPlayback.hpp"
|
||||
#include "ArFramePlayback.hpp"
|
||||
#include "Base/Logger.hpp"
|
||||
#include <filesystem>
|
||||
@@ -74,11 +74,6 @@ namespace openVulkanoCpp::AR::Playback
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
ArRecorder* ArSessionPlayback::GetRecorder()
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
ArType ArSessionPlayback::GetArType()
|
||||
{
|
||||
return capabilities.GetArType();
|
||||
|
||||
@@ -27,8 +27,6 @@ class ArSessionPlayback final : public ArSession, public std::enable_shared_from
|
||||
|
||||
[[nodiscard]] std::shared_ptr<ArFrame> GetFrame() override;
|
||||
|
||||
[[nodiscard]] ArRecorder* GetRecorder() override;
|
||||
|
||||
[[nodiscard]] ArSessionType GetSessionType() override { return ArSessionType::PLAYBACK; }
|
||||
|
||||
[[nodiscard]] ArType GetArType() override;
|
||||
Reference in New Issue
Block a user