Copyright © 2001-2018 MultiMedia Soft

MIDI.SoundFontsInStreamEnum method

Previous pageReturn to chapter overviewNext page

Remarks

 

Enumerates MIDI SoundFonts available inside the loaded MIDI stream. After completing the enumeration, information about each of the detected MIDI SoundFonts can be obtained through the MIDI.SoundFontsInStreamItemGet method.

 

The list of detected MIDI SoundFonts stays available in memory until a new enumeration is performed through a call to this same method so a new enumeration always discards the previous list.

 

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.SoundFontsInStreamEnum (

nPlayer as Integer,

nCount as Long

) as enumErrorCodes


 

[C++]

short control.MIDI.SoundFontsInStreamEnum (

short nPlayer,

long *nCount

);


 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

nCount

Reference that, on return from the method call, will contain the number of MIDI SoundFonts detected inside the loaded MIDI stream.

 

 

 

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