VirtualC64 v5.0 beta
Commodore 64 Emulator
Loading...
Searching...
No Matches
RecorderAPI Struct Reference

Screen Recorder Public API. More...

#include <VirtualC64.h>

Public Member Functions

const RecorderConfig & getConfig () const
 Returns the component's configuration.
 
const RecorderInfo & getInfo () const
 Returns the component's current state.
 
const fs::path getExecPath () const
 Returns the path to the FFmpeg executable.
 
void setExecPath (const std::filesystem::path &path)
 Sets the path to the FFmpeg executable.
 
void startRecording (isize x1, isize y1, isize x2, isize y2)
 Starts the recorder.
 
void stopRecording ()
 Interrupts a recording in progress.
 
bool exportAs (const std::filesystem::path &path)
 Exports the recorded video to a file.
 

Detailed Description

Screen Recorder Public API.

Member Function Documentation

◆ exportAs()

bool exportAs ( const std::filesystem::path & path)

Exports the recorded video to a file.

Parameters
pathThe export destination.
Returns
true on success.

◆ startRecording()

void startRecording ( isize x1,
isize y1,
isize x2,
isize y2 )

Starts the recorder.

Parameters
x1Horizontal start coordinate of the recorded area
y1Vertical start coordinate of the recorded area
x2Horizontal end coordinate of the recorded area
y2Vertical stop coordinate of the recorded area

The documentation for this struct was generated from the following files: