libsidplayfp 1.0.3
|
#include <SidTuneInfoImpl.h>
Public Member Functions | |
uint_least16_t | loadAddr () const |
Load Address. | |
uint_least16_t | initAddr () const |
Init Address. | |
uint_least16_t | playAddr () const |
Play Address. | |
unsigned int | songs () const |
unsigned int | startSong () const |
unsigned int | currentSong () const |
uint_least16_t | sidChipBase1 () const |
0xD400 (normal, 1st SID) | |
uint_least16_t | sidChipBase2 () const |
0xD?00 (2nd SID) or 0 (no 2nd SID) | |
bool | isStereo () const |
int | songSpeed () const |
uint_least8_t | relocStartPage () const |
uint_least8_t | relocPages () const |
model_t | sidModel1 () const |
first SID | |
model_t | sidModel2 () const |
second SID | |
compatibility_t | compatibility () const |
unsigned int | numberOfInfoStrings () const |
the number of available text info lines | |
const char * | infoString (unsigned int i) const |
text info from the format headers etc. | |
unsigned int | numberOfCommentStrings () const |
Number of comments. | |
const char * | commentString (unsigned int i) const |
Used to stash the MUS comment somewhere. | |
uint_least32_t | dataFileLen () const |
uint_least32_t | c64dataLen () const |
clock_t | clockSpeed () const |
const char * | formatString () const |
bool | fixLoad () const |
const char * | path () const |
const char * | dataFileName () const |
const char * | infoFileName () const |
Public Attributes | |
const char * | m_formatString |
unsigned int | m_songs |
unsigned int | m_startSong |
unsigned int | m_currentSong |
int | m_songSpeed |
clock_t | m_clockSpeed |
model_t | m_sidModel1 |
model_t | m_sidModel2 |
compatibility_t | m_compatibility |
uint_least32_t | m_dataFileLen |
uint_least32_t | m_c64dataLen |
uint_least16_t | m_loadAddr |
uint_least16_t | m_initAddr |
uint_least16_t | m_playAddr |
uint_least16_t | m_sidChipBase1 |
uint_least16_t | m_sidChipBase2 |
uint_least8_t | m_relocStartPage |
uint_least8_t | m_relocPages |
std::string | m_path |
std::string | m_dataFileName |
std::string | m_infoFileName |
std::vector< std::string > | m_infoString |
std::vector< std::string > | m_commentString |
bool | m_fixLoad |
The implementation of the SidTuneInfo interface.
uint_least32_t SidTuneInfoImpl::c64dataLen | ( | ) | const [inline, virtual] |
Length of raw C64 data without load address.
Implements SidTuneInfo.
clock_t SidTuneInfoImpl::clockSpeed | ( | ) | const [inline, virtual] |
The tune clock speed.
Implements SidTuneInfo.
compatibility_t SidTuneInfoImpl::compatibility | ( | ) | const [inline, virtual] |
Compatibility requirements.
Implements SidTuneInfo.
unsigned int SidTuneInfoImpl::currentSong | ( | ) | const [inline, virtual] |
The tune that has been initialized.
Implements SidTuneInfo.
uint_least32_t SidTuneInfoImpl::dataFileLen | ( | ) | const [inline, virtual] |
Length of single-file sidtune file.
Implements SidTuneInfo.
const char* SidTuneInfoImpl::dataFileName | ( | ) | const [inline, virtual] |
A first file: e.g. "foo.sid" or "foo.mus".
Implements SidTuneInfo.
bool SidTuneInfoImpl::fixLoad | ( | ) | const [inline, virtual] |
Whether load address might be duplicate.
Implements SidTuneInfo.
const char* SidTuneInfoImpl::formatString | ( | ) | const [inline, virtual] |
The name of the identified file format.
Implements SidTuneInfo.
const char* SidTuneInfoImpl::infoFileName | ( | ) | const [inline, virtual] |
A second file: e.g. "foo.str". Returns 0 if none.
Implements SidTuneInfo.
bool SidTuneInfoImpl::isStereo | ( | ) | const [inline, virtual] |
Whether sidtune uses two SID chips.
Implements SidTuneInfo.
const char* SidTuneInfoImpl::path | ( | ) | const [inline, virtual] |
Path to sidtune files.
Implements SidTuneInfo.
uint_least8_t SidTuneInfoImpl::relocPages | ( | ) | const [inline, virtual] |
Number of pages available for relocation.
Implements SidTuneInfo.
uint_least8_t SidTuneInfoImpl::relocStartPage | ( | ) | const [inline, virtual] |
First available page for relocation.
Implements SidTuneInfo.
unsigned int SidTuneInfoImpl::songs | ( | ) | const [inline, virtual] |
The number of songs.
Implements SidTuneInfo.
int SidTuneInfoImpl::songSpeed | ( | ) | const [inline, virtual] |
Intended speed.
Implements SidTuneInfo.
unsigned int SidTuneInfoImpl::startSong | ( | ) | const [inline, virtual] |
The default starting song.
Implements SidTuneInfo.