internal static void Init() { _midiTracks = new MidiTrackState[kMaxTracks]; for (int i = 0; i < kMaxTracks; i++) { _midiTracks[i] = new MidiTrackState(); } //PlayMidiSequence(LoadMidiFile("C:/Projects/MissingInActon/unity/Assets/Game/Resources/Test.midi")); }
private static bool ShouldTrackBeUpdatedByInputSource(ref MidiTrackState track, uint source) { return(track._source == MidiTrackState.eSource.AnyLiveSource || (track._source == MidiTrackState.eSource.LiveSource && track._sourceAddress == source)); }