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

#include <TsxImage.hh>

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

Public Member Functions

 TsxImage (const Filename &fileName, FilePool &filePool, CliComm &cliComm)
 
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 17 of file TsxImage.hh.

Constructor & Destructor Documentation

◆ TsxImage()

openmsx::TsxImage::TsxImage ( const Filename fileName,
FilePool filePool,
CliComm cliComm 
)

Member Function Documentation

◆ fillBuffer()

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

Implements openmsx::CassetteImage.

Definition at line 69 of file TsxImage.cc.

References xrange().

◆ getAmplificationFactorImpl()

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

Implements openmsx::CassetteImage.

Definition at line 84 of file TsxImage.cc.

◆ getEndTime()

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

Implements openmsx::CassetteImage.

Definition at line 57 of file TsxImage.cc.

References openmsx::Clock< FREQ_NUM, FREQ_DENOM >::getTime().

◆ getFrequency()

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

Implements openmsx::CassetteImage.

Definition at line 64 of file TsxImage.cc.

References TsxParser::OUTPUT_FREQUENCY.

◆ getSampleAt()

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

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