|
LMMS
|
#include <xsm.h>
Public Member Functions | |
| CxsmPlayer (Copl *newopl) | |
| ~CxsmPlayer () | |
| 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 CPlayer * | factory (Copl *newopl) |
Private Member Functions | |
| void | play_note (int c, int note, int octv) |
Private Attributes | |
| unsigned short | songlen |
| char * | music |
| unsigned int | last |
| unsigned int | notenum |
| bool | songend |
Additional Inherited Members | |
| Protected Attributes inherited from CPlayer | |
| Copl * | opl |
| CAdPlugDatabase * | db |
| Static Protected Attributes inherited from CPlayer | |
| static const unsigned short | note_table [12] |
| static const unsigned char | op_table [9] |
| CxsmPlayer::CxsmPlayer | ( | Copl * | newopl | ) |
| CxsmPlayer::~CxsmPlayer | ( | ) |
|
virtual |
Implements CPlayer.
|
inlinevirtual |
Implements CPlayer.
|
virtual |
Implements CPlayer.
|
virtual |
Implements CPlayer.
|
private |
|
private |
|
private |
|
private |
|
private |