|
LMMS
|
#include <bmf.h>
Classes | |
| struct | bmf_event |
Public Member Functions | |
| CxadbmfPlayer (Copl *newopl) | |
| ~CxadbmfPlayer () | |
| Public Member Functions inherited from CxadPlayer | |
| CxadPlayer (Copl *newopl) | |
| ~CxadPlayer () | |
| 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 | getinstrument (unsigned int i) |
| unsigned int | getinstruments () |
| unsigned int | getspeed () |
| 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 | getdesc () |
| virtual unsigned int | getpatterns () |
| virtual unsigned int | getpattern () |
| virtual unsigned int | getorders () |
| virtual unsigned int | getorder () |
| virtual unsigned int | getrow () |
| virtual unsigned int | getsubsongs () |
| virtual unsigned int | getsubsong () |
Static Public Member Functions | |
| static CPlayer * | factory (Copl *newopl) |
| Static Public Member Functions inherited from CxadPlayer | |
| static CPlayer * | factory (Copl *newopl) |
Protected Types | |
| enum | { BMF0_9B , BMF1_1 , BMF1_2 } |
| Protected Types inherited from CxadPlayer | |
| enum | { HYP =1 , PSI , FLASH , BMF , RAT , HYBRID } |
Protected Member Functions | |
| bool | xadplayer_load () |
| void | xadplayer_rewind (int subsong) |
| void | xadplayer_update () |
| float | xadplayer_getrefresh () |
| std::string | xadplayer_gettype () |
| std::string | xadplayer_gettitle () |
| std::string | xadplayer_getauthor () |
| std::string | xadplayer_getinstrument (unsigned int i) |
| unsigned int | xadplayer_getinstruments () |
| unsigned int | xadplayer_getspeed () |
| Protected Member Functions inherited from CxadPlayer | |
| void | opl_write (int reg, int val) |
Protected Attributes | |
| struct { | |
| unsigned char version | |
| char title [36] | |
| char author [36] | |
| float timer | |
| unsigned char speed | |
| struct { | |
| char name [11] | |
| unsigned char data [13] | |
| } instruments [32] | |
| bmf_event streams [9][1024] | |
| int active_streams | |
| struct { | |
| unsigned short stream_position | |
| unsigned char delay | |
| unsigned short loop_position | |
| unsigned char loop_counter | |
| } channel [9] | |
| } | bmf |
| Protected Attributes inherited from CxadPlayer | |
| struct CxadPlayer::xad_header | xad |
| unsigned char * | tune |
| unsigned long | tune_size |
| struct { | |
| int playing | |
| int looping | |
| unsigned char speed | |
| unsigned char speed_counter | |
| } | plr |
| unsigned char | adlib [256] |
| Protected Attributes inherited from CPlayer | |
| Copl * | opl |
| CAdPlugDatabase * | db |
Private Member Functions | |
| int | __bmf_convert_stream (unsigned char *stream, int channel) |
Static Private Attributes | |
| static const unsigned char | bmf_adlib_registers [117] |
| static const unsigned short | bmf_notes [12] |
| static const unsigned short | bmf_notes_2 [12] |
| static const unsigned char | bmf_default_instrument [13] |
Additional Inherited Members | |
| Static Protected Attributes inherited from CPlayer | |
| static const unsigned short | note_table [12] |
| static const unsigned char | op_table [9] |
|
inline |
|
inline |
|
protectedvirtual |
Reimplemented from CxadPlayer.
|
protectedvirtual |
Reimplemented from CxadPlayer.
|
protectedvirtual |
Reimplemented from CxadPlayer.
|
protectedvirtual |
Implements CxadPlayer.
|
protectedvirtual |
Reimplemented from CxadPlayer.
|
protectedvirtual |
Reimplemented from CxadPlayer.
|
protectedvirtual |
Implements CxadPlayer.
|
protectedvirtual |
Implements CxadPlayer.
Implements CxadPlayer.
|
protectedvirtual |
Implements CxadPlayer.
| int CxadbmfPlayer::active_streams |
| char CxadbmfPlayer::author[36] |
| struct { ... } CxadbmfPlayer::bmf |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
| struct { ... } CxadbmfPlayer::channel[9] |
| unsigned char CxadbmfPlayer::data[13] |
| unsigned char CxadbmfPlayer::delay |
| struct { ... } CxadbmfPlayer::instruments[32] |
| unsigned char CxadbmfPlayer::loop_counter |
| unsigned short CxadbmfPlayer::loop_position |
| char CxadbmfPlayer::name[11] |
| unsigned char CxadbmfPlayer::speed |
| unsigned short CxadbmfPlayer::stream_position |
| bmf_event CxadbmfPlayer::streams[9][1024] |
| float CxadbmfPlayer::timer |
| char CxadbmfPlayer::title[36] |
| unsigned char CxadbmfPlayer::version |