#include <SidDatabase.h>
Classes | |
class | parseError |
Public Member Functions | |
bool | open (const char *filename) |
void | close () |
int_least32_t | length (SidTune &tune) |
int_least32_t | length (const char *md5, unsigned int song) |
const char * | error () const |
Get descriptive error message. |
void SidDatabase::close | ( | ) |
Close the songlength DataBase.
int_least32_t SidDatabase::length | ( | const char * | md5, | |
unsigned int | song | |||
) |
Get the length of the selected subtune.
md5 | the md5 hash of the tune. | |
song | the subtune. |
int_least32_t SidDatabase::length | ( | SidTune & | tune | ) |
Get the length of the current subtune.
tune |
bool SidDatabase::open | ( | const char * | filename | ) |
Open the songlength DataBase.
filename | songlengthDB file name with full path. |