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

Inheritance: MidiDriver, IAudioStream
Mostrar archivo Open project: scemino/nscumm

Protected Properties

Property Type Description
_baseFreq int
_isOpen bool
_mixer IMixer
_mixerSoundHandle SoundHandle

Public Methods

Method Description
Dispose ( ) : void
Open ( ) : MidiDriverError
ReadBuffer ( short data, int count ) : int
SetTimerCallback ( object timerParam, TimerProc timerProc ) : void

Protected Methods

Method Description
EmulatedMidiDriver ( IMixer mixer )
GenerateSamples ( short buf, int pos, int len ) : void
OnTimer ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

EmulatedMidiDriver() protected method

protected EmulatedMidiDriver ( IMixer mixer )
mixer IMixer

GenerateSamples() protected abstract method

protected abstract GenerateSamples ( short buf, int pos, int len ) : void
buf short
pos int
len int
return void

OnTimer() protected method

protected OnTimer ( ) : void
return void

Open() public method

public Open ( ) : MidiDriverError
return MidiDriverError

ReadBuffer() public method

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

SetTimerCallback() public method

public SetTimerCallback ( object timerParam, TimerProc timerProc ) : void
timerParam object
timerProc TimerProc
return void

Property Details

_baseFreq protected_oe property

protected int _baseFreq
return int

_isOpen protected_oe property

protected bool _isOpen
return bool

_mixer protected_oe property

protected IMixer _mixer
return IMixer

_mixerSoundHandle protected_oe property

protected SoundHandle _mixerSoundHandle
return SoundHandle