openMSX
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
openmsx::ResampleAlgo Class Referenceabstract

#include <ResampleAlgo.hh>

Inheritance diagram for openmsx::ResampleAlgo:
Inheritance graph
[legend]
Collaboration diagram for openmsx::ResampleAlgo:
Collaboration graph
[legend]

Public Member Functions

virtual ~ResampleAlgo ()=default
 
bool generateOutput (float *dataOut, unsigned num, EmuTime::param time)
 

Protected Member Functions

 ResampleAlgo (ResampledSoundDevice &input_)
 
DynamicClockgetEmuClock () const
 
virtual bool generateOutputImpl (float *dataOut, unsigned num, EmuTime::param time)=0
 

Protected Attributes

ResampledSoundDeviceinput
 

Detailed Description

Definition at line 11 of file ResampleAlgo.hh.

Constructor & Destructor Documentation

◆ ~ResampleAlgo()

virtual openmsx::ResampleAlgo::~ResampleAlgo ( )
virtualdefault

◆ ResampleAlgo()

openmsx::ResampleAlgo::ResampleAlgo ( ResampledSoundDevice input_)
inlineprotected

Definition at line 26 of file ResampleAlgo.hh.

Member Function Documentation

◆ generateOutput()

bool openmsx::ResampleAlgo::generateOutput ( float *  dataOut,
unsigned  num,
EmuTime::param  time 
)
inline

Definition at line 16 of file ResampleAlgo.hh.

References generateOutputImpl(), and getEmuClock().

◆ generateOutputImpl()

virtual bool openmsx::ResampleAlgo::generateOutputImpl ( float *  dataOut,
unsigned  num,
EmuTime::param  time 
)
protectedpure virtual

◆ getEmuClock()

DynamicClock& openmsx::ResampleAlgo::getEmuClock ( ) const
inlineprotected

Member Data Documentation

◆ input

ResampledSoundDevice& openmsx::ResampleAlgo::input
protected

Definition at line 32 of file ResampleAlgo.hh.

Referenced by openmsx::ResampleTrivial::generateOutputImpl(), and getEmuClock().


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