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

#include <mdi.h>

Inheritance diagram for CmdiPlayer:
CPlayer

Public Member Functions

 CmdiPlayer (Copl *newopl)
 ~CmdiPlayer ()
bool load (const std::string &filename, const CFileProvider &fp)
bool update ()
void rewind (int subsong)
float getrefresh ()
std::string gettype ()
Public Member Functions inherited from CPlayer
 CPlayer (Copl *newopl)
virtual ~CPlayer ()
void seek (unsigned long ms)
unsigned long songlength (int subsong=-1)
virtual std::string gettitle ()
virtual std::string getauthor ()
virtual std::string getdesc ()
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

unsigned long pos
unsigned long size
bool songend
float timer
uint16_t division
uint8_tdata
uint32_t counter
uint32_t ticks
uint8_t status
uint8_t volume [MAX_VOICES]
Protected Attributes inherited from CPlayer
Coplopl
CAdPlugDatabasedb

Private Member Functions

void SetTempo (uint32_t tempo)
uint32_t GetVarVal ()
void executeCommand ()

Private Attributes

CadlibDriverdrv

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

◆ CmdiPlayer()

CmdiPlayer::CmdiPlayer ( Copl * newopl)
inline

◆ ~CmdiPlayer()

CmdiPlayer::~CmdiPlayer ( )
inline

Member Function Documentation

◆ executeCommand()

void CmdiPlayer::executeCommand ( )
private

◆ factory()

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

◆ getrefresh()

float CmdiPlayer::getrefresh ( )
inlinevirtual

Implements CPlayer.

◆ gettype()

std::string CmdiPlayer::gettype ( )
inlinevirtual

Implements CPlayer.

◆ GetVarVal()

uint32_t CmdiPlayer::GetVarVal ( )
private

◆ load()

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

Implements CPlayer.

◆ rewind()

void CmdiPlayer::rewind ( int subsong)
virtual

Implements CPlayer.

◆ SetTempo()

void CmdiPlayer::SetTempo ( uint32_t tempo)
private

◆ update()

bool CmdiPlayer::update ( )
virtual

Implements CPlayer.

Member Data Documentation

◆ counter

uint32_t CmdiPlayer::counter
protected

◆ data

uint8_t* CmdiPlayer::data
protected

◆ division

uint16_t CmdiPlayer::division
protected

◆ drv

CadlibDriver* CmdiPlayer::drv
private

◆ pos

unsigned long CmdiPlayer::pos
protected

◆ size

unsigned long CmdiPlayer::size
protected

◆ songend

bool CmdiPlayer::songend
protected

◆ status

uint8_t CmdiPlayer::status
protected

◆ ticks

uint32_t CmdiPlayer::ticks
protected

◆ timer

float CmdiPlayer::timer
protected

◆ volume

uint8_t CmdiPlayer::volume[MAX_VOICES]
protected

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