|
static SidTuneBase * | load (buffer_t &dataBuf, bool init=false) |
|
static SidTuneBase * | load (buffer_t &musBuf, buffer_t &strBuf, uint_least32_t fileOffset, bool init=false) |
|
static SidTuneBase * | load (const char *fileName, const char **fileNameExt, bool separatorIsSlash) |
|
static SidTuneBase * | read (const uint_least8_t *sourceBuffer, uint_least32_t bufferLen) |
|
|
typedef std::vector< uint8_t > | buffer_t |
|
static void | loadFile (const char *fileName, buffer_t &bufferRef) |
|
std::unique_ptr< SidTuneInfoImpl > | info |
|
uint_least8_t | songSpeed [MAX_SONGS] |
|
SidTuneInfo::clock_t | clockSpeed [MAX_SONGS] |
|
uint_least32_t | fileOffset |
| For files with header: offset to real data.
|
|
buffer_t | cache |
|
static const unsigned int | MAX_SONGS = 256 |
| Also PSID file format limit.
|
|
static const char | ERR_TRUNCATED [] = "SIDTUNE ERROR: File is most likely truncated" |
|
static const char | ERR_INVALID [] = "SIDTUNE ERROR: File contains invalid data" |
|
◆ acceptSidTune()
void libsidplayfp::MUS::acceptSidTune |
( |
const char * |
dataFileName, |
|
|
const char * |
infoFileName, |
|
|
buffer_t & |
buf, |
|
|
bool |
isSlashedFileName |
|
) |
| |
|
overrideprotectedvirtual |
Cache the data of a single-file or two-file sidtune and its corresponding file names.
- Parameters
-
dataFileName | |
infoFileName | |
buf | |
isSlashedFileName | If your opendir() and readdir()->d_name return path names that contain the forward slash (/) as file separator, but your operating system uses a different character, there are extra functions that can deal with this special case. Set separatorIsSlash to true if you like path names to be split correctly. You do not need these extra functions if your systems file separator is the forward slash. |
- Exceptions
-
Reimplemented from libsidplayfp::SidTuneBase.
◆ placeSidTuneInC64mem()
void libsidplayfp::MUS::placeSidTuneInC64mem |
( |
sidmemory & |
mem | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: