C# 클래스 NScumm.Core.Audio.PCSpeakerDriver

상속: NScumm.Core.Audio.SoftSynth.EmulatedMidiDriver
파일 보기 프로젝트 열기: scemino/nscumm 1 사용 예제들

공개 메소드들

메소드 설명
AllocateChannel ( ) : MidiChannel
Close ( ) : void
GetPercussionChannel ( ) : MidiChannel
Open ( ) : MidiDriverError
PCSpeakerDriver ( IMixer mixer ) : NScumm.Core.Audio.SoftSynth
Property ( int prop, int param ) : int
Send ( int b ) : void

보호된 메소드들

메소드 설명
GenerateSamples ( short buf, int pos, int len ) : void

비공개 메소드들

메소드 설명
GetEffectModLevel ( short level, sbyte mod ) : short
GetEffectModifier ( ushort level ) : byte
GetRandScale ( short input ) : short
InitNextEnvelopeState ( EffectEnvelope env ) : void
Output ( ushort output ) : void
SetupEffects ( MidiChannelPcSpk chan, EffectEnvelope env, EffectDefinition def, byte flags, byte data, int offset ) : void
StartEffect ( EffectEnvelope env, byte data, int offset ) : void
UpdateNote ( ) : void

메소드 상세

AllocateChannel() 공개 메소드

public AllocateChannel ( ) : MidiChannel
리턴 MidiChannel

Close() 공개 메소드

public Close ( ) : void
리턴 void

GenerateSamples() 보호된 메소드

protected GenerateSamples ( short buf, int pos, int len ) : void
buf short
pos int
len int
리턴 void

GetPercussionChannel() 공개 메소드

public GetPercussionChannel ( ) : MidiChannel
리턴 MidiChannel

Open() 공개 메소드

public Open ( ) : MidiDriverError
리턴 MidiDriverError

PCSpeakerDriver() 공개 메소드

public PCSpeakerDriver ( IMixer mixer ) : NScumm.Core.Audio.SoftSynth
mixer IMixer
리턴 NScumm.Core.Audio.SoftSynth

Property() 공개 메소드

public Property ( int prop, int param ) : int
prop int
param int
리턴 int

Send() 공개 메소드

public Send ( int b ) : void
b int
리턴 void