C# Class NScumm.Core.FmOPL

显示文件 Open project: scemino/nscumm

Public Methods

Method Description
FmOPL ( int type, int clock, int rate ) : System
MakeAdLibOPL ( uint rate ) : FmOPL
OPLRead ( int a ) : byte
OPLResetChip ( ) : void
OPLWrite ( int a, int v ) : int
OPLWriteReg ( int r, int v ) : void
YM3812UpdateOne ( short buffer, int length ) : void

Private Methods

Method Description
CALC_FCSLOT ( OPL_CH CH, OPL_SLOT SLOT ) : void
EG_STEP ( ) : double
Init_timetables ( int ARRATE, int DRRATE ) : void
ML ( double a ) : uint
OPLBuildTables ( int ENV_BITS_PARAM, int EG_ENT_PARAM ) : void
OPLOpenTable ( ) : int
OPL_CALC_CH ( OPL_CH CH ) : void
OPL_CALC_RH ( OPL_CH CH ) : void
OPL_CALC_SLOT ( OPL_SLOT SLOT ) : uint
OPL_KEYOFF ( OPL_SLOT SLOT ) : void
OPL_KEYON ( OPL_SLOT SLOT ) : void
OPL_LockTable ( ) : bool
OPL_STATUSMASK_SET ( int flag ) : void
OPL_STATUS_RESET ( int flag ) : void
OPL_STATUS_SET ( int flag ) : void
OPL_initalize ( ) : void
RATE_0 ( int index ) : int
SC_KSL ( double mydb ) : uint
SC_SL ( uint db ) : int
TL_MAX ( ) : int
set_algorythm ( OPL_CH CH ) : void
set_ar_dr ( int slot, int v ) : void
set_ksl_tl ( int slot, int v ) : void
set_mul ( int slot, int v ) : void
set_sl_rr ( int slot, int v ) : void

Method Details

FmOPL() public method

public FmOPL ( int type, int clock, int rate ) : System
type int
clock int
rate int
return System

MakeAdLibOPL() public static method

public static MakeAdLibOPL ( uint rate ) : FmOPL
rate uint
return FmOPL

OPLRead() public method

public OPLRead ( int a ) : byte
a int
return byte

OPLResetChip() public method

public OPLResetChip ( ) : void
return void

OPLWrite() public method

public OPLWrite ( int a, int v ) : int
a int
v int
return int

OPLWriteReg() public method

public OPLWriteReg ( int r, int v ) : void
r int
v int
return void

YM3812UpdateOne() public method

public YM3812UpdateOne ( short buffer, int length ) : void
buffer short
length int
return void