Copyright © 2005-2018 MultiMedia Soft

Effects.EqualizerLoadFromMemoryStream method

Previous pageReturn to chapter overviewNext page

Remarks

 

Loads new equalizer's settings from a memory stream containing the needed XML code into the given player. Existing equalizer's settings can be saved inside a memory stream through the EqualizerSaveToMemoryStream method.

 

For further details about defining the equalizer settings refer to the How to create and use an Equalizer section.

 

 

Syntax

 

[Visual Basic]

Public Function EqualizerLoadFromMemoryStream (

nPlayerIndex as Int16,

ms as MemoryStream

) as enumErrorCodes


 

[C#]

public enumErrorCodes EqualizerLoadFromMemoryStream (

Int16 nPlayerIndex,

MemoryStream ms

);


 

[C++]

public: enumErrorCodes EqualizerLoadFromMemoryStream (

Int16 nPlayerIndex,

MemoryStream ms

);


 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the involved player

ms

Memory stream containing equalizer's settings in XML format

 

 

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.