LMMS
Loading...
Searching...
No Matches
CdroPlayer Class Reference

#include <dro.h>

Inheritance diagram for CdroPlayer:
CPlayer

Public Member Functions

 CdroPlayer (Copl *newopl)
 ~CdroPlayer ()
bool load (const std::string &filename, const CFileProvider &fp)
bool update ()
void rewind (int subsong)
float getrefresh ()
std::string gettype ()
std::string gettitle ()
std::string getauthor ()
std::string getdesc ()
Public Member Functions inherited from CPlayer
 CPlayer (Copl *newopl)
virtual ~CPlayer ()
void seek (unsigned long ms)
unsigned long songlength (int subsong=-1)
virtual unsigned int getpatterns ()
virtual unsigned int getpattern ()
virtual unsigned int getorders ()
virtual unsigned int getorder ()
virtual unsigned int getrow ()
virtual unsigned int getspeed ()
virtual unsigned int getsubsongs ()
virtual unsigned int getsubsong ()
virtual unsigned int getinstruments ()
virtual std::string getinstrument (unsigned int n)

Static Public Member Functions

static CPlayerfactory (Copl *newopl)

Protected Attributes

uint8_tdata
int iLength
int iPos
int iDelay
Protected Attributes inherited from CPlayer
Coplopl
CAdPlugDatabasedb

Static Protected Attributes

static const uint8_t iCmdDelayS = 0x00
static const uint8_t iCmdDelayL = 0x01
Static Protected Attributes inherited from CPlayer
static const unsigned short note_table [12]
static const unsigned char op_table [9]

Private Attributes

char title [40]
char author [40]
char desc [1023]

Constructor & Destructor Documentation

◆ CdroPlayer()

CdroPlayer::CdroPlayer ( Copl * newopl)

◆ ~CdroPlayer()

CdroPlayer::~CdroPlayer ( )

Member Function Documentation

◆ factory()

CPlayer * CdroPlayer::factory ( Copl * newopl)
static

◆ getauthor()

std::string CdroPlayer::getauthor ( )
inlinevirtual

Reimplemented from CPlayer.

◆ getdesc()

std::string CdroPlayer::getdesc ( )
inlinevirtual

Reimplemented from CPlayer.

◆ getrefresh()

float CdroPlayer::getrefresh ( )
virtual

Implements CPlayer.

◆ gettitle()

std::string CdroPlayer::gettitle ( )
inlinevirtual

Reimplemented from CPlayer.

◆ gettype()

std::string CdroPlayer::gettype ( )
inlinevirtual

Implements CPlayer.

◆ load()

bool CdroPlayer::load ( const std::string & filename,
const CFileProvider & fp )
virtual

Implements CPlayer.

◆ rewind()

void CdroPlayer::rewind ( int subsong)
virtual

Implements CPlayer.

◆ update()

bool CdroPlayer::update ( )
virtual

Implements CPlayer.

Member Data Documentation

◆ author

char CdroPlayer::author[40]
private

◆ data

uint8_t* CdroPlayer::data
protected

◆ desc

char CdroPlayer::desc[1023]
private

◆ iCmdDelayL

const uint8_t CdroPlayer::iCmdDelayL = 0x01
staticprotected

◆ iCmdDelayS

const uint8_t CdroPlayer::iCmdDelayS = 0x00
staticprotected

◆ iDelay

int CdroPlayer::iDelay
protected

◆ iLength

int CdroPlayer::iLength
protected

◆ iPos

int CdroPlayer::iPos
protected

◆ title

char CdroPlayer::title[40]
private

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