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 (const WavImage &)=delete
 
 WavImage (WavImage &&)=delete
 
WavImageoperator= (const WavImage &)=delete
 
WavImageoperator= (WavImage &&)=delete
 
 ~WavImage () override
 
int16_t getSampleAt (EmuTime::param time) const override
 
EmuTime getEndTime () const override
 
unsigned getFrequency () const override
 
void fillBuffer (unsigned pos, std::span< float *, 1 > 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.
 

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/3]

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

◆ WavImage() [2/3]

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

◆ WavImage() [3/3]

openmsx::WavImage::WavImage ( WavImage &&  )
delete

◆ ~WavImage()

openmsx::WavImage::~WavImage ( )
override

Member Function Documentation

◆ fillBuffer()

void openmsx::WavImage::fillBuffer ( unsigned  pos,
std::span< float *, 1 >  bufs,
unsigned  num 
) const
overridevirtual

Implements openmsx::CassetteImage.

Definition at line 155 of file WavImage.cc.

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

◆ getAmplificationFactorImpl()

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

Implements openmsx::CassetteImage.

Definition at line 166 of file WavImage.cc.

◆ getEndTime()

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

◆ getFrequency()

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

Implements openmsx::CassetteImage.

Definition at line 150 of file WavImage.cc.

References openmsx::DynamicClock::getFreq().

◆ getSampleAt()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

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