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

#include <vgm.h>

Inheritance diagram for CvgmPlayer:
CPlayer

Classes

struct  GD3tag

Public Member Functions

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

int version
int samples
int loop_ofs
int loop_smp
int rate
int clock
uint8_t loop_base
uint8_t loop_mod
bool vgmOPL3
bool vgmDual
int data_sz
uint8_tvgmData
GD3tag GD3
int pos
bool songend
uint16_t wait
Protected Attributes inherited from CPlayer
Coplopl
CAdPlugDatabasedb

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

◆ CvgmPlayer()

CvgmPlayer::CvgmPlayer ( Copl * newopl)
inline

◆ ~CvgmPlayer()

CvgmPlayer::~CvgmPlayer ( )
inline

Member Function Documentation

◆ factory()

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

◆ getauthor()

std::string CvgmPlayer::getauthor ( )
virtual

Reimplemented from CPlayer.

◆ getdesc()

std::string CvgmPlayer::getdesc ( )
virtual

Reimplemented from CPlayer.

◆ getrefresh()

float CvgmPlayer::getrefresh ( )
virtual

Implements CPlayer.

◆ gettitle()

std::string CvgmPlayer::gettitle ( )
virtual

Reimplemented from CPlayer.

◆ gettype()

std::string CvgmPlayer::gettype ( )
virtual

Implements CPlayer.

◆ load()

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

Implements CPlayer.

◆ rewind()

void CvgmPlayer::rewind ( int subsong)
virtual

Implements CPlayer.

◆ update()

bool CvgmPlayer::update ( )
virtual

Implements CPlayer.

Member Data Documentation

◆ clock

int CvgmPlayer::clock
protected

◆ data_sz

int CvgmPlayer::data_sz
protected

◆ GD3

GD3tag CvgmPlayer::GD3
protected

◆ loop_base

uint8_t CvgmPlayer::loop_base
protected

◆ loop_mod

uint8_t CvgmPlayer::loop_mod
protected

◆ loop_ofs

int CvgmPlayer::loop_ofs
protected

◆ loop_smp

int CvgmPlayer::loop_smp
protected

◆ pos

int CvgmPlayer::pos
protected

◆ rate

int CvgmPlayer::rate
protected

◆ samples

int CvgmPlayer::samples
protected

◆ songend

bool CvgmPlayer::songend
protected

◆ version

int CvgmPlayer::version
protected

◆ vgmData

uint8_t* CvgmPlayer::vgmData
protected

◆ vgmDual

bool CvgmPlayer::vgmDual
protected

◆ vgmOPL3

bool CvgmPlayer::vgmOPL3
protected

◆ wait

uint16_t CvgmPlayer::wait
protected

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