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

#include <dro2.h>

Inheritance diagram for Cdro2Player:
CPlayer

Public Member Functions

 Cdro2Player (Copl *newopl)
 ~Cdro2Player ()
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_t iCmdDelayS
uint8_t iCmdDelayL
int iConvTableLen
uint8_tpiConvTable
uint8_tdata
int iLength
int iPos
int iDelay
Protected Attributes inherited from CPlayer
Coplopl
CAdPlugDatabasedb

Private Attributes

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

Additional Inherited Members

Static Protected Attributes inherited from CPlayer
static const unsigned short note_table [12]
static const unsigned char op_table [9]

Constructor & Destructor Documentation

◆ Cdro2Player()

Cdro2Player::Cdro2Player ( Copl * newopl)

◆ ~Cdro2Player()

Cdro2Player::~Cdro2Player ( )

Member Function Documentation

◆ factory()

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

◆ getauthor()

std::string Cdro2Player::getauthor ( )
inlinevirtual

Reimplemented from CPlayer.

◆ getdesc()

std::string Cdro2Player::getdesc ( )
inlinevirtual

Reimplemented from CPlayer.

◆ getrefresh()

float Cdro2Player::getrefresh ( )
virtual

Implements CPlayer.

◆ gettitle()

std::string Cdro2Player::gettitle ( )
inlinevirtual

Reimplemented from CPlayer.

◆ gettype()

std::string Cdro2Player::gettype ( )
inlinevirtual

Implements CPlayer.

◆ load()

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

OPL type (0 == OPL2, 1 == Dual OPL2, 2 == OPL3)

Implements CPlayer.

◆ rewind()

void Cdro2Player::rewind ( int subsong)
virtual

Implements CPlayer.

◆ update()

bool Cdro2Player::update ( )
virtual

Implements CPlayer.

Member Data Documentation

◆ author

char Cdro2Player::author[40]
private

◆ data

uint8_t* Cdro2Player::data
protected

◆ desc

char Cdro2Player::desc[1023]
private

◆ iCmdDelayL

uint8_t Cdro2Player::iCmdDelayL
protected

◆ iCmdDelayS

uint8_t Cdro2Player::iCmdDelayS
protected

◆ iConvTableLen

int Cdro2Player::iConvTableLen
protected

◆ iDelay

int Cdro2Player::iDelay
protected

◆ iLength

int Cdro2Player::iLength
protected

◆ iPos

int Cdro2Player::iPos
protected

◆ piConvTable

uint8_t* Cdro2Player::piConvTable
protected

◆ title

char Cdro2Player::title[40]
private

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