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)
 
int16_t getSampleAt (EmuTime::param time) override
 
EmuTime getEndTime () const override
 
unsigned getFrequency () const override
 
void fillBuffer (unsigned pos, int **bufs, unsigned num) const override
 
- Public Member Functions inherited from openmsx::CassetteImage
virtual ~CassetteImage ()
 
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 ()
 
void setFirstFileType (FileType type)
 
void setSha1Sum (const Sha1Sum &sha1sum)
 

Detailed Description

Definition at line 14 of file WavImage.hh.

Constructor & Destructor Documentation

§ WavImage()

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

Member Function Documentation

§ fillBuffer()

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

Implements openmsx::CassetteImage.

Definition at line 74 of file WavImage.cc.

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

§ getEndTime()

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

Implements openmsx::CassetteImage.

Definition at line 62 of file WavImage.cc.

References openmsx::WavData::getSize(), and openmsx::DynamicClock::getTime().

§ getFrequency()

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

Implements openmsx::CassetteImage.

Definition at line 69 of file WavImage.cc.

References openmsx::DynamicClock::getFreq().

§ getSampleAt()

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

Implements openmsx::CassetteImage.

Definition at line 57 of file WavImage.cc.

References openmsx::DynamicClock::getTicksTill().


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