상속: EmulatedMidiDriver
예제 #1
0
            internal protected override void Init(AdlibMidiDriver owner, byte channel)
            {
                base.Init(owner, channel);
                _priEff = 0;
                _volEff = 127;

                // Initialize the custom instruments data
                Array.Clear(_notes, 0, _notes.Length);
                Array.Clear(_customInstruments, 0, _customInstruments.Length);
            }
예제 #2
0
 internal protected virtual void Init(AdlibMidiDriver owner, byte channel)
 {
     _owner = owner;
     _channel = channel;
     _priEff = 127;
     ProgramChange(0);
 }