openMSX
Public Member Functions | List of all members
openmsx::WavImage Class Referencefinal

#include <WavImage.hh>

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

Public Member Functions

 WavImage (const Filename &filename, FilePool &filePool)
 
 ~WavImage () override
 
 WavImage (const WavImage &)=delete
 
WavImageoperator= (const WavImage &)=delete
 
int16_t getSampleAt (EmuTime::param time) const override
 
EmuTime getEndTime () const override
 
unsigned getFrequency () const override
 
void fillBuffer (unsigned pos, float **bufs, unsigned num) const override
 
float getAmplificationFactorImpl () const override
 
- Public Member Functions inherited from openmsx::CassetteImage
virtual ~CassetteImage ()=default
 
FileType getFirstFileType () const
 
std::string getFirstFileTypeAsString () const
 
const Sha1SumgetSha1Sum () const
 Get sha1sum for this image. More...
 

Additional Inherited Members

- Public Types inherited from openmsx::CassetteImage
enum  FileType { ASCII , BINARY , BASIC , UNKNOWN }
 
- Protected Member Functions inherited from openmsx::CassetteImage
 CassetteImage ()=default
 
void setFirstFileType (FileType type)
 
void setSha1Sum (const Sha1Sum &sha1sum)
 

Detailed Description

Definition at line 14 of file WavImage.hh.

Constructor & Destructor Documentation

◆ WavImage() [1/2]

openmsx::WavImage::WavImage ( const Filename filename,
FilePool filePool 
)
explicit

◆ ~WavImage()

openmsx::WavImage::~WavImage ( )
override

◆ WavImage() [2/2]

openmsx::WavImage::WavImage ( const WavImage )
delete

Member Function Documentation

◆ fillBuffer()

void openmsx::WavImage::fillBuffer ( unsigned  pos,
float **  bufs,
unsigned  num 
) const
overridevirtual

Implements openmsx::CassetteImage.

Definition at line 152 of file WavImage.cc.

References openmsx::WavData::getSample(), and xrange().

◆ getAmplificationFactorImpl()

float openmsx::WavImage::getAmplificationFactorImpl ( ) const
overridevirtual

Implements openmsx::CassetteImage.

Definition at line 163 of file WavImage.cc.

◆ getEndTime()

EmuTime openmsx::WavImage::getEndTime ( ) const
overridevirtual

◆ getFrequency()

unsigned openmsx::WavImage::getFrequency ( ) const
overridevirtual

Implements openmsx::CassetteImage.

Definition at line 147 of file WavImage.cc.

References openmsx::DynamicClock::getFreq().

◆ getSampleAt()

int16_t openmsx::WavImage::getSampleAt ( EmuTime::param  time) const
overridevirtual

◆ operator=()

WavImage& openmsx::WavImage::operator= ( const WavImage )
delete

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