BASS.NET API for the Un4seen BASS Audio Library

MidiMIDI_InStop Method

BASS.NET API for the Un4seen BASS Audio Library
Stops MIDI input on the specified MIDI input device.

Namespace:  radio42.Multimedia.Midi
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

public static MIDIError MIDI_InStop(
	IntPtr handle
)

Parameters

handle
Type: SystemIntPtr
Handle to the MIDI input device.

Return Value

Type: MIDIError
Returns 0 if successful or an error code otherwise. For possible error values see MIDIError.
Remarks

If there are any system-exclusive messages or stream buffers in the queue, the current buffer is marked as done (the Data member of the MIDI_HEADER structure will contain the actual data received), but any empty buffers in the queue remain there and are not marked as done.

Calling this function when input is not started has no effect, and the function returns zero.

See Also

Reference