openMSX
Classes | Public Member Functions | Static Public Attributes | List of all members
openmsx::AviRecorder Class Reference

#include <AviRecorder.hh>

Collaboration diagram for openmsx::AviRecorder:
Collaboration graph
[legend]

Public Member Functions

 AviRecorder (Reactor &reactor)
 
 ~AviRecorder ()
 
void addWave (std::span< const StereoFloat > data)
 
void addImage (const FrameSource *frame, EmuTime::param time)
 
void stop ()
 
unsigned getFrameHeight () const
 
bool isRecording () const
 

Static Public Attributes

static constexpr std::string_view VIDEO_DIR = "videos"
 
static constexpr std::string_view AUDIO_DIR = "soundlogs"
 
static constexpr std::string_view VIDEO_EXTENSION = ".avi"
 
static constexpr std::string_view AUDIO_EXTENSION = ".wav"
 

Detailed Description

Definition at line 25 of file AviRecorder.hh.

Constructor & Destructor Documentation

◆ AviRecorder()

openmsx::AviRecorder::AviRecorder ( Reactor reactor)
explicit

Definition at line 31 of file AviRecorder.cc.

◆ ~AviRecorder()

openmsx::AviRecorder::~AviRecorder ( )

Definition at line 37 of file AviRecorder.cc.

Member Function Documentation

◆ addImage()

void openmsx::AviRecorder::addImage ( const FrameSource frame,
EmuTime::param  time 
)

◆ addWave()

void openmsx::AviRecorder::addWave ( std::span< const StereoFloat data)

◆ getFrameHeight()

unsigned openmsx::AviRecorder::getFrameHeight ( ) const

Definition at line 202 of file AviRecorder.cc.

◆ isRecording()

bool openmsx::AviRecorder::isRecording ( ) const

Definition at line 291 of file AviRecorder.cc.

◆ stop()

void openmsx::AviRecorder::stop ( )

Member Data Documentation

◆ AUDIO_DIR

constexpr std::string_view openmsx::AviRecorder::AUDIO_DIR = "soundlogs"
staticconstexpr

Definition at line 29 of file AviRecorder.hh.

◆ AUDIO_EXTENSION

constexpr std::string_view openmsx::AviRecorder::AUDIO_EXTENSION = ".wav"
staticconstexpr

Definition at line 31 of file AviRecorder.hh.

◆ VIDEO_DIR

constexpr std::string_view openmsx::AviRecorder::VIDEO_DIR = "videos"
staticconstexpr

Definition at line 28 of file AviRecorder.hh.

◆ VIDEO_EXTENSION

constexpr std::string_view openmsx::AviRecorder::VIDEO_EXTENSION = ".avi"
staticconstexpr

Definition at line 30 of file AviRecorder.hh.


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