Inheritance: EmulatedMidiDriver
Beispiel #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);
            }
Beispiel #2
0
 internal protected virtual void Init(AdlibMidiDriver owner, byte channel)
 {
     _owner = owner;
     _channel = channel;
     _priEff = 127;
     ProgramChange(0);
 }