30 #include "sidplayfp/SidInfo.h" 39 # define PACKAGE_NAME PACKAGE 42 #ifndef PACKAGE_VERSION 43 # define PACKAGE_VERSION VERSION 52 const std::string m_name;
53 const std::string m_version;
54 std::vector<std::string> m_credits;
56 std::string m_speedString;
58 std::string m_kernalDesc;
59 std::string m_basicDesc;
60 std::string m_chargenDesc;
62 const unsigned int m_maxsids;
64 unsigned int m_channels;
66 uint_least16_t m_driverAddr;
67 uint_least16_t m_driverLength;
69 uint_least16_t m_powerOnDelay;
79 m_version(PACKAGE_VERSION),
86 m_credits.push_back(PACKAGE_NAME
" V" PACKAGE_VERSION
" Engine:\n" 87 "\tCopyright (C) 2000 Simon White\n" 88 "\tCopyright (C) 2007-2010 Antti Lankila\n" 89 "\tCopyright (C) 2010-2014 Leandro Nini\n" 90 "\t" PACKAGE_URL
"\n");
93 const char *
name()
const {
return m_name.c_str(); }
94 const char *
version()
const {
return m_version.c_str(); }
97 const char *
credits(
unsigned int i)
const {
return i<m_credits.size()?m_credits[i].c_str():
""; }
99 unsigned int maxsids()
const {
return m_maxsids; }
101 unsigned int channels()
const {
return m_channels; }
110 const char *
kernalDesc()
const {
return m_kernalDesc.c_str(); }
111 const char *
basicDesc()
const {
return m_basicDesc.c_str(); }
static const unsigned int MAX_SIDS
Maximum number of supported SIDs.
Definition: mixer.h:41
const char * basicDesc() const
Description of the laoded ROM images.
Definition: SidInfoImpl.h:111
uint_least16_t driverAddr() const
Address of the driver.
Definition: SidInfoImpl.h:103
const char * chargenDesc() const
Description of the laoded ROM images.
Definition: SidInfoImpl.h:112
Definition: SidInfoImpl.h:49
unsigned int numberOfCredits() const
Library credits.
Definition: SidInfoImpl.h:96
uint_least16_t powerOnDelay() const
Power on delay.
Definition: SidInfoImpl.h:106
const char * kernalDesc() const
Description of the laoded ROM images.
Definition: SidInfoImpl.h:110
const char * name() const
Library name.
Definition: SidInfoImpl.h:93
const char * speedString() const
Describes the speed current song is running at.
Definition: SidInfoImpl.h:108
const char * version() const
Library version.
Definition: SidInfoImpl.h:94
unsigned int maxsids() const
Number of SIDs supported by this library.
Definition: SidInfoImpl.h:99
const char * credits(unsigned int i) const
Library credits.
Definition: SidInfoImpl.h:97
unsigned int channels() const
Number of output channels (1-mono, 2-stereo)
Definition: SidInfoImpl.h:101
uint_least16_t driverLength() const
Size of the driver in bytes.
Definition: SidInfoImpl.h:104