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

Inheritance: TownsPC98_FmSynth
Exibir arquivo Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
AddNewRef ( IMixer mixer, TownsAudioInterface owner, ITownsAudioInterfacePluginDriver driver, bool externalMutexHandling ) : TownsAudioInterfaceInternal
Init ( ) : bool
ProcessCommand ( int command, object args ) : int
ReleaseRef ( TownsAudioInterface owner ) : void
SetMusicVolume ( int volume ) : void
SetSoundEffectChanMask ( int mask ) : void
SetSoundEffectVolume ( int volume ) : void
TimerCallbackA ( ) : void
TimerCallbackB ( ) : void

Protected Methods

Method Description
NextTickEx ( int buffer, int offset, int bufferSize ) : void

Private Methods

Method Description
AssignPluginDriver ( TownsAudioInterface owner, ITownsAudioInterfacePluginDriver driver, bool externalMutexHandling ) : bool
BufferedWriteReg ( byte part, byte regAddress, byte value ) : void
Callback ( int command ) : int
FmChanOff ( int chan ) : int
FmKeyOff ( int chan ) : int
FmKeyOn ( int chan, int note, int velo ) : int
FmLoadInstrument ( int instrId, byte data, int offset ) : int
FmReset ( ) : void
FmSetInstrument ( int chan, int instrId ) : int
FmSetLevel ( int chan, int lvl ) : int
FmSetPanPos ( int chan, int value ) : int
FmSetPitch ( int chan, int pitch ) : int
PcmChanOff ( int chan ) : int
PcmKeyOff ( int chan ) : int
PcmKeyOn ( int chan, int note, int velo ) : int
PcmLoadInstrument ( int instrId, byte data, int offset ) : int
PcmReset ( ) : void
PcmSetInstrument ( int chan, int instrId ) : int
PcmSetLevel ( int chan, int lvl ) : int
PcmSetPanPos ( int chan, int mode ) : int
PcmSetPitch ( int chan, int pitch ) : int
RemovePluginDriver ( TownsAudioInterface owner ) : void
SetVolumeChannelMasks ( int channelMaskA, int channelMaskB ) : void
TownsAudioInterfaceInternal ( IMixer mixer, TownsAudioInterface owner, ITownsAudioInterfacePluginDriver driver, bool externalMutexHandling ) : System
UpdateOutputVolume ( ) : void
UpdateOutputVolumeInternal ( ) : void
intf_cdaToggle ( object args ) : int
intf_chanOff ( object args ) : int
intf_enableTimerA ( object args ) : int
intf_enableTimerB ( object args ) : int
intf_fmKeyOff ( object args ) : int
intf_fmKeyOn ( object args ) : int
intf_fmLoadInstrument ( object args ) : int
intf_fmReset ( object args ) : int
intf_fmSetInstrument ( object args ) : int
intf_fmSetLevel ( object args ) : int
intf_fmSetPanPos ( object args ) : int
intf_fmSetPitch ( object args ) : int
intf_getOutputMute ( object args ) : int
intf_getOutputVolume ( object args ) : int
intf_getOutputVolume2 ( object args ) : int
intf_keyOff ( object args ) : int
intf_keyOn ( object args ) : int
intf_loadInstrument ( object args ) : int
intf_loadSamples ( object args ) : int
intf_loadSamples ( uint dest, int size, byte src, int offset ) : int
intf_loadWaveTable ( object args ) : int
intf_notImpl ( object args ) : int
intf_pcmChanOff ( object args ) : int
intf_pcmEffectPlaying ( object args ) : int
intf_pcmPlayEffect ( object args ) : int
intf_pcmUpdateEnvelopeGenerator ( object args ) : int
intf_readRegBuffer ( object args ) : int
intf_reserveEffectChannels ( object args ) : int
intf_reset ( ) : int
intf_resetOutputVolume ( object args ) : int
intf_setInstrument ( object args ) : int
intf_setLevel ( object args ) : int
intf_setOutputMute ( object args ) : int
intf_setOutputVolume ( object args ) : int
intf_setPanPos ( object args ) : int
intf_setPitch ( object args ) : int
intf_setTimerA ( object args ) : int
intf_setTimerB ( object args ) : int
intf_unloadWaveTable ( object args ) : int
intf_writeReg ( object args ) : int
intf_writeRegBuffer ( object args ) : int

Method Details

AddNewRef() public static method

public static AddNewRef ( IMixer mixer, TownsAudioInterface owner, ITownsAudioInterfacePluginDriver driver, bool externalMutexHandling ) : TownsAudioInterfaceInternal
mixer IMixer
owner TownsAudioInterface
driver ITownsAudioInterfacePluginDriver
externalMutexHandling bool
return TownsAudioInterfaceInternal

Init() public method

public Init ( ) : bool
return bool

NextTickEx() protected method

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

ProcessCommand() public method

public ProcessCommand ( int command, object args ) : int
command int
args object
return int

ReleaseRef() public static method

public static ReleaseRef ( TownsAudioInterface owner ) : void
owner TownsAudioInterface
return void

SetMusicVolume() public method

public SetMusicVolume ( int volume ) : void
volume int
return void

SetSoundEffectChanMask() public method

public SetSoundEffectChanMask ( int mask ) : void
mask int
return void

SetSoundEffectVolume() public method

public SetSoundEffectVolume ( int volume ) : void
volume int
return void

TimerCallbackA() public method

public TimerCallbackA ( ) : void
return void

TimerCallbackB() public method

public TimerCallbackB ( ) : void
return void