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

Inheritance: IAudioStream
Datei anzeigen Open project: scemino/nscumm

Protected Properties

Property Type Description
_externalMutex bool
_numChan int
_numSSG int
_prc TownsPC98_FmSynthPercussionSource
_ssg TownsPC98_FmSynthSquareSineSource
_volMaskA int

Public Methods

Method Description
Dispose ( ) : void
GenerateTables ( ) : void
IdleTimerCallback ( ) : void
Init ( ) : bool
NextTick ( int buffer, int offset, uint bufferSize ) : void
ReadBuffer ( short buffer, int count ) : int
TimerCallbackA ( ) : void
TimerCallbackB ( ) : void
WriteReg ( byte part, byte regAddress, int value ) : void

Protected Methods

Method Description
NextTickEx ( int buffer, int offset, int bufferSize ) : void
Reset ( ) : void
SetVolumeIntern ( int volA, int volB ) : void
ToggleRegProtection ( bool prot ) : void
TownsPC98_FmSynth ( IMixer mixer, FmSynthEmuType type, bool externalMutexHandling = false ) : System

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GenerateTables() public method

public GenerateTables ( ) : void
return void

IdleTimerCallback() public method

public IdleTimerCallback ( ) : void
return void

Init() public method

public Init ( ) : bool
return bool

NextTick() public method

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

NextTickEx() protected method

protected NextTickEx ( int buffer, int offset, int bufferSize ) : void
buffer int
offset int
bufferSize int
return void

ReadBuffer() public method

public ReadBuffer ( short buffer, int count ) : int
buffer short
count int
return int

Reset() protected method

protected Reset ( ) : void
return void

SetVolumeIntern() protected method

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

TimerCallbackA() public abstract method

public abstract TimerCallbackA ( ) : void
return void

TimerCallbackB() public abstract method

public abstract TimerCallbackB ( ) : void
return void

ToggleRegProtection() protected method

protected ToggleRegProtection ( bool prot ) : void
prot bool
return void

TownsPC98_FmSynth() protected method

protected TownsPC98_FmSynth ( IMixer mixer, FmSynthEmuType type, bool externalMutexHandling = false ) : System
mixer IMixer
type FmSynthEmuType
externalMutexHandling bool
return System

WriteReg() public method

public WriteReg ( byte part, byte regAddress, int value ) : void
part byte
regAddress byte
value int
return void

Property Details

_externalMutex protected_oe property

protected bool _externalMutex
return bool

_numChan protected_oe property

protected int _numChan
return int

_numSSG protected_oe property

protected int _numSSG
return int

_prc protected_oe property

protected TownsPC98_FmSynthPercussionSource _prc
return TownsPC98_FmSynthPercussionSource

_ssg protected_oe property

protected TownsPC98_FmSynthSquareSineSource,NScumm.Core.Audio.SoftSynth _ssg
return TownsPC98_FmSynthSquareSineSource

_volMaskA protected_oe property

protected int _volMaskA
return int