Copyright © 2005-2018 MultiMedia Soft

MIDI.StreamStop method

Previous pageReturn to chapter overviewNext page

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 MIDIMan class section and the How to deal with MIDI protocol tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function StreamStop (

nPlayerIndex as Int16

) as enumErrorCodes


 

[C#]

public enumErrorCodes StreamStop (

Int16 nPlayerIndex

);


 

[C++]

public: enumErrorCodes StreamStop (

Int16 nPlayerIndex

);


 

 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the involved player

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.