SidDatabase Class Reference

#include <SidDatabase.h>

List of all members.

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.


Detailed Description

SidDatabase An utility class to deal with the songlength DataBase.

Member Function Documentation

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.

Parameters:
md5 the md5 hash of the tune.
song the subtune.
Returns:
tune length in seconds, -1 in case of errors.

int_least32_t SidDatabase::length ( SidTune tune  ) 

Get the length of the current subtune.

Parameters:
tune 
Returns:
tune length in seconds, -1 in case of errors.

bool SidDatabase::open ( const char *  filename  ) 

Open the songlength DataBase.

Parameters:
filename songlengthDB file name with full path.
Returns:
false in case of errors, true otherwise.


The documentation for this class was generated from the following files:

Generated on Sun Jul 14 23:12:59 2013 for libsidplayfp by  doxygen 1.5.9