MIDI.StreamStop method |
|
Remarks
Stops playback of a MIDI stream previously started through the MIDI.StreamStart method.
For further details about the use of MIDI protocol see the MIDI object section and the How to deal with MIDI protocol tutorial.
Syntax
[Visual Basic] control.MIDI.StreamStop ( nPlayer as Integer ) as enumErrorCodes |
[C++] short control.MIDI.StreamStop ( short nPlayer ); |
Parameter |
Description |
|
|
nPlayer |
Number representing the zero-based index of the involved player |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred, check the LastError property value in order to get the error code |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful |