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 ()
 
short 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

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

Definition at line 40 of file WavImage.cc.

Member Function Documentation

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

Implements openmsx::CassetteImage.

Definition at line 71 of file WavImage.cc.

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

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

Implements openmsx::CassetteImage.

Definition at line 59 of file WavImage.cc.

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

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

Implements openmsx::CassetteImage.

Definition at line 66 of file WavImage.cc.

References openmsx::DynamicClock::getFreq().

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

Implements openmsx::CassetteImage.

Definition at line 53 of file WavImage.cc.

References Math::clipIntToShort(), and openmsx::DynamicClock::getTicksTill().


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