1#ifndef CASSETTEIMAGE_HH
2#define CASSETTEIMAGE_HH
18 [[nodiscard]]
virtual int16_t
getSampleAt(EmuTime::param time)
const = 0;
21 virtual void fillBuffer(
unsigned pos, std::span<float*, 1> bufs,
unsigned num)
const = 0;
void setSha1Sum(const Sha1Sum &sha1sum)
virtual void fillBuffer(unsigned pos, std::span< float *, 1 > bufs, unsigned num) const =0
std::string getFirstFileTypeAsString() const
virtual float getAmplificationFactorImpl() const =0
const Sha1Sum & getSha1Sum() const
Get sha1sum for this image.
FileType getFirstFileType() const
virtual int16_t getSampleAt(EmuTime::param time) const =0
virtual ~CassetteImage()=default
void setFirstFileType(FileType type)
virtual EmuTime getEndTime() const =0
virtual unsigned getFrequency() const =0
This class represents the result of a sha1 calculation (a 160-bit value).
This file implemented 3 utility functions: