Copyright © 2005-2019 MultiMedia Soft

MIDI.SoundFontListApply method

Previous pageReturn to chapter overviewNext page

Remarks

 

Applies in one single shot a list of MIDI SoundFonts to the loaded MIDI stream. The list can be cleared and removed from memory through the MIDI.StreamEventsListItemRemove method.

 

MIDI SoundFonts can be added to the list through the MIDI.SoundFontListItemAdd method or removed through the MIDI.SoundFontListItemRemove method. The total number of SoundFonts added to the list can be obtained through the MIDI.SoundFontListItemCountGet 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 SoundFontListApply (

nPlayerIndex as Int16

) as enumErrorCodes


 

[C#]

public enumErrorCodes SoundFontListApply (

Int16 nPlayerIndex

);


 

[C++]

public: enumErrorCodes SoundFontListApply (

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.