C# Class NScumm.Core.Audio.OPL.DosBox.DosBoxOPL

Inheritance: IOpl
Mostra file Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
DosBoxOPL ( OplType type ) : System
EnvSilent ( int x ) : bool
Init ( int rate ) : void
ReadBuffer ( short buffer, int pos, int length ) : void
WriteReg ( int r, int v ) : void

Private Methods

Method Description
DualWrite ( byte index, byte reg, byte val ) : void
EnvelopeSelect ( byte val, byte &index, byte &shift ) : void
Free ( ) : void
InitTables ( ) : void
M ( double x ) : byte
Read ( int port ) : byte
Reset ( ) : void
Write ( int port, int val ) : void

Method Details

DosBoxOPL() public method

public DosBoxOPL ( OplType type ) : System
type OplType
return System

EnvSilent() public static method

public static EnvSilent ( int x ) : bool
x int
return bool

Init() public method

public Init ( int rate ) : void
rate int
return void

ReadBuffer() public method

public ReadBuffer ( short buffer, int pos, int length ) : void
buffer short
pos int
length int
return void

WriteReg() public method

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