openMSX
|
#include <WavImage.hh>
Public Member Functions | |
WavImage (const Filename &filename, FilePool &filePool) | |
WavImage (const WavImage &)=delete | |
WavImage (WavImage &&)=delete | |
WavImage & | operator= (const WavImage &)=delete |
WavImage & | operator= (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 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) |
Definition at line 14 of file WavImage.hh.
Definition at line 108 of file WavImage.cc.
References openmsx::WavImageCache::get(), openmsx::WavData::getFreq(), openmsx::WavImageCache::instance(), openmsx::DynamicClock::setFreq(), and openmsx::CassetteImage::setSha1Sum().
|
delete |
|
delete |
|
override |
Definition at line 116 of file WavImage.cc.
References openmsx::WavImageCache::instance(), and openmsx::WavImageCache::release().
|
overridevirtual |
Implements openmsx::CassetteImage.
Definition at line 155 of file WavImage.cc.
References openmsx::WavData::getSample(), and xrange().
|
overridevirtual |
Implements openmsx::CassetteImage.
Definition at line 166 of file WavImage.cc.
|
overridevirtual |
Implements openmsx::CassetteImage.
Definition at line 143 of file WavImage.cc.
References openmsx::WavData::getSize(), and openmsx::DynamicClock::getTime().
|
overridevirtual |
Implements openmsx::CassetteImage.
Definition at line 150 of file WavImage.cc.
References openmsx::DynamicClock::getFreq().
|
overridevirtual |
Implements openmsx::CassetteImage.
Definition at line 121 of file WavImage.cc.
References Math::clipToInt16(), Math::cubicHermite(), openmsx::WavData::getSample(), and openmsx::DynamicClock::getTicksTillAsIntFloat().