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

#include <jbm.h>

Inheritance diagram for CjbmPlayer:
CPlayer

Classes

struct  JBMVoice

Public Member Functions

 CjbmPlayer (Copl *newopl)
 ~CjbmPlayer ()
bool load (const std::string &filename, const CFileProvider &fp)
bool update ()
void rewind (int subsong)
float getrefresh ()
std::string gettype ()
std::string getauthor ()
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 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 char * m
float timer
unsigned short flags
unsigned short voicemask
unsigned short seqtable
unsigned short seqcount
unsigned short instable
unsigned short inscount
unsigned short * sequences
unsigned char bdreg
JBMVoice voice [11]
Protected Attributes inherited from CPlayer
Coplopl
CAdPlugDatabasedb

Private Member Functions

void set_opl_instrument (int, JBMVoice *)
void opl_noteonoff (int, JBMVoice *, bool)

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

◆ CjbmPlayer()

CjbmPlayer::CjbmPlayer ( Copl * newopl)
inline

◆ ~CjbmPlayer()

CjbmPlayer::~CjbmPlayer ( )
inline

Member Function Documentation

◆ factory()

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

◆ getauthor()

std::string CjbmPlayer::getauthor ( )
inlinevirtual

Reimplemented from CPlayer.

◆ getrefresh()

float CjbmPlayer::getrefresh ( )
inlinevirtual

Implements CPlayer.

◆ gettype()

std::string CjbmPlayer::gettype ( )
inlinevirtual

Implements CPlayer.

◆ load()

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

Implements CPlayer.

◆ opl_noteonoff()

void CjbmPlayer::opl_noteonoff ( int channel,
JBMVoice * v,
bool state )
private

◆ rewind()

void CjbmPlayer::rewind ( int subsong)
virtual

Implements CPlayer.

◆ set_opl_instrument()

void CjbmPlayer::set_opl_instrument ( int channel,
JBMVoice * v )
private

◆ update()

bool CjbmPlayer::update ( )
virtual

Implements CPlayer.

Member Data Documentation

◆ bdreg

unsigned char CjbmPlayer::bdreg
protected

◆ flags

unsigned short CjbmPlayer::flags
protected

◆ inscount

unsigned short CjbmPlayer::inscount
protected

◆ instable

unsigned short CjbmPlayer::instable
protected

◆ m

unsigned char* CjbmPlayer::m
protected

◆ seqcount

unsigned short CjbmPlayer::seqcount
protected

◆ seqtable

unsigned short CjbmPlayer::seqtable
protected

◆ sequences

unsigned short* CjbmPlayer::sequences
protected

◆ timer

float CjbmPlayer::timer
protected

◆ voice

JBMVoice CjbmPlayer::voice[11]
protected

◆ voicemask

unsigned short CjbmPlayer::voicemask
protected

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