C# Class NScumm.Core.Audio.SoftSynth.TownsPC98_FmSynthSquareSineSource

Show file Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
Init ( int rsTable, int rseTable ) : void
NextTick ( int buffer, int offset, uint bufferSize ) : void
Reset ( ) : void
SetVolumeChannelMasks ( int channelMaskA, int channelMaskB ) : void
SetVolumeIntern ( int volA, int volB ) : void
TownsPC98_FmSynthSquareSineSource ( uint timerbase, uint rtt ) : System
UpdateRegs ( ) : void
WriteReg ( int address, int value, bool force = false ) : void

Private Methods

Method Description
ChanEnable ( ) : byte
CreateChannels ( ) : Channel[]

Method Details

Init() public method

public Init ( int rsTable, int rseTable ) : void
rsTable int
rseTable int
return void

NextTick() public method

public NextTick ( int buffer, int offset, uint bufferSize ) : void
buffer int
offset int
bufferSize uint
return void

Reset() public method

public Reset ( ) : void
return void

SetVolumeChannelMasks() public method

public SetVolumeChannelMasks ( int channelMaskA, int channelMaskB ) : void
channelMaskA int
channelMaskB int
return void

SetVolumeIntern() public method

public SetVolumeIntern ( int volA, int volB ) : void
volA int
volB int
return void

TownsPC98_FmSynthSquareSineSource() public method

public TownsPC98_FmSynthSquareSineSource ( uint timerbase, uint rtt ) : System
timerbase uint
rtt uint
return System

UpdateRegs() public method

public UpdateRegs ( ) : void
return void

WriteReg() public method

public WriteReg ( int address, int value, bool force = false ) : void
address int
value int
force bool
return void