|
LMMS
|
#include <protrack.h>
Classes | |
| struct | Instrument |
| struct | Tracks |
| struct | Channel |
Public Member Functions | |
| CmodPlayer (Copl *newopl) | |
| virtual | ~CmodPlayer () |
| bool | update () |
| void | rewind (int subsong) |
| float | getrefresh () |
| unsigned int | getpatterns () |
| unsigned int | getpattern () |
| unsigned int | getorders () |
| unsigned int | getorder () |
| unsigned int | getrow () |
| unsigned int | getspeed () |
| Public Member Functions inherited from CPlayer | |
| CPlayer (Copl *newopl) | |
| virtual | ~CPlayer () |
| void | seek (unsigned long ms) |
| virtual bool | load (const std::string &filename, const CFileProvider &fp=CProvider_Filesystem())=0 |
| unsigned long | songlength (int subsong=-1) |
| virtual std::string | gettype ()=0 |
| virtual std::string | gettitle () |
| virtual std::string | getauthor () |
| virtual std::string | getdesc () |
| virtual unsigned int | getsubsongs () |
| virtual unsigned int | getsubsong () |
| virtual unsigned int | getinstruments () |
| virtual std::string | getinstrument (unsigned int n) |
Protected Types | |
| enum | Flags { Standard = 0 , Decimal = 1 << 0 , Faust = 1 << 1 , NoKeyOn = 1 << 2 , Opl3 = 1 << 3 , Tremolo = 1 << 4 , Vibrato = 1 << 5 , Percussion = 1 << 6 } |
Protected Member Functions | |
| void | init_trackord () |
| bool | init_specialarp () |
| void | init_notetable (const unsigned short *newnotetable) |
| bool | realloc_order (unsigned long len) |
| bool | realloc_patterns (unsigned long pats, unsigned long rows, unsigned long chans) |
| bool | realloc_instruments (unsigned long len) |
| void | dealloc () |
Protected Attributes | |
| struct CmodPlayer::Instrument * | inst |
| struct CmodPlayer::Tracks ** | tracks |
| unsigned char * | order |
| unsigned char * | arplist |
| unsigned char * | arpcmd |
| unsigned char | initspeed |
| unsigned short | tempo |
| unsigned short ** | trackord |
| unsigned short | bpm |
| unsigned short | nop |
| unsigned long | length |
| unsigned long | restartpos |
| unsigned long | activechan |
| int | flags |
| int | curchip |
| struct CmodPlayer::Channel * | channel |
| Protected Attributes inherited from CPlayer | |
| Copl * | opl |
| CAdPlugDatabase * | db |
Private Member Functions | |
| void | setvolume (unsigned char chan) |
| void | setvolume_alt (unsigned char chan) |
| void | setfreq (unsigned char chan) |
| void | playnote (unsigned char chan) |
| void | setnote (unsigned char chan, int note) |
| void | slide_down (unsigned char chan, int amount) |
| void | slide_up (unsigned char chan, int amount) |
| void | tone_portamento (unsigned char chan, unsigned char info) |
| void | vibrato (unsigned char chan, unsigned char speed, unsigned char depth) |
| void | vol_up (unsigned char chan, int amount) |
| void | vol_down (unsigned char chan, int amount) |
| void | vol_up_alt (unsigned char chan, int amount) |
| void | vol_down_alt (unsigned char chan, int amount) |
| void | dealloc_patterns () |
| bool | resolve_order () |
| unsigned char | set_opl_chip (unsigned char chan) |
Private Attributes | |
| unsigned char | speed |
| unsigned char | del |
| unsigned char | songend |
| unsigned char | regbd |
| unsigned short | rows |
| unsigned short | notetable [12] |
| unsigned long | rw |
| unsigned long | ord |
| unsigned long | nrows |
| unsigned long | npats |
| unsigned long | nchans |
Static Private Attributes | |
| static const unsigned short | sa2_notetable [12] |
| static const unsigned char | vibratotab [32] |
Additional Inherited Members | |
| Static Protected Attributes inherited from CPlayer | |
| static const unsigned short | note_table [12] |
| static const unsigned char | op_table [9] |
|
protected |
| CmodPlayer::CmodPlayer | ( | Copl * | newopl | ) |
|
virtual |
|
protected |
|
private |
|
virtual |
Implements CPlayer.
Reimplemented in CradLoader.
|
protected |
|
protected |
|
private |
|
protected |
|
protected |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
virtual |
Implements CPlayer.
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
private |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
protected |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
protected |
|
protected |
|
protected |
|
staticprivate |