예제 #1
0
        public static MidiMarker[] StreamGetAllMarkers(int handle)
        {
            int markc = StreamGetMarkers(handle, -1, MidiMarkerType.Marker, null);
            var marks = new MidiMarker[markc];

            StreamGetMarkers(handle, -1, MidiMarkerType.Marker, marks);

            return(marks);
        }
예제 #2
0
 public static extern bool StreamGetMarker(int handle, MidiMarkerType type, int index, out MidiMarker mark);