openMSX
|
Code based on "cas2wav" tool by Vincent van Dam. More...
#include <CasImage.hh>
Classes | |
struct | Data |
Public Member Functions | |
CasImage (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 Sha1Sum & | getSha1Sum () 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) |
Code based on "cas2wav" tool by Vincent van Dam.
Definition at line 17 of file CasImage.hh.
Definition at line 295 of file CasImage.cc.
|
overridevirtual |
Implements openmsx::CassetteImage.
Definition at line 318 of file CasImage.cc.
References openmsx::CasImage::Data::wave, and xrange().
|
overridevirtual |
Implements openmsx::CassetteImage.
Definition at line 333 of file CasImage.cc.
|
overridevirtual |
Implements openmsx::CassetteImage.
Definition at line 307 of file CasImage.cc.
References openmsx::CasImage::Data::frequency, openmsx::EmuDuration::hz(), and openmsx::CasImage::Data::wave.
|
overridevirtual |
Implements openmsx::CassetteImage.
Definition at line 313 of file CasImage.cc.
References openmsx::CasImage::Data::frequency.
|
overridevirtual |
Implements openmsx::CassetteImage.
Definition at line 300 of file CasImage.cc.
References openmsx::CasImage::Data::frequency, openmsx::EmuDuration::getTicksAt(), and openmsx::CasImage::Data::wave.