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

#include <mkj.h>

Inheritance diagram for CmkjPlayer:
CPlayer

Public Member Functions

 CmkjPlayer (Copl *newopl)
 ~CmkjPlayer ()
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)

Private Attributes

short maxchannel
short maxnotes
short * songbuf
bool songend
struct { 
   short   defined 
   short   songptr 
   short   octave 
   short   waveform 
   short   pstat 
   short   speed 
   short   delay 
channel [9]

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ CmkjPlayer()

CmkjPlayer::CmkjPlayer ( Copl * newopl)
inline

◆ ~CmkjPlayer()

CmkjPlayer::~CmkjPlayer ( )
inline

Member Function Documentation

◆ factory()

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

◆ getrefresh()

float CmkjPlayer::getrefresh ( )
virtual

Implements CPlayer.

◆ gettype()

std::string CmkjPlayer::gettype ( )
inlinevirtual

Implements CPlayer.

◆ load()

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

Implements CPlayer.

◆ rewind()

void CmkjPlayer::rewind ( int subsong)
virtual

Implements CPlayer.

◆ update()

bool CmkjPlayer::update ( )
virtual

Implements CPlayer.

Member Data Documentation

◆ [struct]

struct { ... } CmkjPlayer::channel[9]

◆ defined

short CmkjPlayer::defined

◆ delay

short CmkjPlayer::delay

◆ maxchannel

short CmkjPlayer::maxchannel
private

◆ maxnotes

short CmkjPlayer::maxnotes
private

◆ octave

short CmkjPlayer::octave

◆ pstat

short CmkjPlayer::pstat

◆ songbuf

short * CmkjPlayer::songbuf
private

◆ songend

bool CmkjPlayer::songend
private

◆ songptr

short CmkjPlayer::songptr

◆ speed

short CmkjPlayer::speed

◆ waveform

short CmkjPlayer::waveform

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