Copyright © 2005-2018 MultiMedia Soft

Effects.EqualizerLoadPresets method

Previous pageReturn to chapter overviewNext page

Remarks

 

Loads a WinAmp™ preset into the equalizer.

 

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

 

 

Syntax

 

[Visual Basic]

Public Function EqualizerLoadPresets (

nPlayerIndex as Int16,

nPreset as enumEqualizerPresets

) as enumErrorCodes


 

[C#]

public enumErrorCodes EqualizerLoadPresets (

Int16 nPlayerIndex,

enumEqualizerPresets nPreset

);


 

[C++]

public: enumErrorCodes EqualizerLoadPresets (

Int16 nPlayerIndex,

enumEqualizerPresets nPreset

);


 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the involved player

nPreset

Preset identifier.

Supported values are the following:

Mnemonic constant

Value

Meaning

EQU_PRESET_WINAMP_CLASSICAL

0

Classical

EQU_PRESET_WINAMP_CLUB

1

Club

EQU_PRESET_WINAMP_DANCE

2

Dance

EQU_PRESET_WINAMP_FULL_BASS

3

Full bass

EQU_PRESET_WINAMP_FULL_BASS_TREBLE

4

Full bass and treble

EQU_PRESET_WINAMP_FULL_TREBLE

5

Full treble

EQU_PRESET_WINAMP_LAPTOP_SPEAKERS

6

Laptop speakers

EQU_PRESET_WINAMP_LARGE_HALL

7

Large hall

EQU_PRESET_WINAMP_LIVE

8

Live

EQU_PRESET_WINAMP_PARTY

9

Party

EQU_PRESET_WINAMP_POP

10

Pop

EQU_PRESET_WINAMP_REGGAE

11

Reggae

EQU_PRESET_WINAMP_ROCK

12

Rock

EQU_PRESET_WINAMP_SKA

13

Ska

EQU_PRESET_WINAMP_SOFT

14

Soft

EQU_PRESET_WINAMP_SOFT_ROCK

15

Soft rock

EQU_PRESET_WINAMP_TECHNO

16

Techno

 

 

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.