Copyright © 2005-2019 MultiMedia Soft

Effects.DirectXEffectParamsGetChorus method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves parameters related to the Chorus effect. These parameters can be changed using the Effects.DirectXEffectParamsSetChorus method.

 

DirectX effects requires the availability of DirectX version 8 or higher on the target system and can be applied only if the IsDirectX8Available method returns TRUE.

 

See the How to apply special effects to a playing sound section for further details.

 

 

Syntax

 

[Visual Basic]

Public Function DirectXEffectParamsGetChorus (

nPlayerIndex as Int16,

ByRef fx as Microsoft.DirectX.DirectSound.EffectsChorus

) as enumErrorCodes


 

[C#]

public enumErrorCodes DirectXEffectParamsGetChorus (

Int16 nPlayerIndex,

ref Microsoft.DirectX.DirectSound.EffectsChorus fx

);


 

[C++]

public: enumErrorCodes DirectXEffectParamsGetChorus (

Int16 nPlayerIndex,

Microsoft::DirectX::DirectSound::EffectsChorus __gc *fx

);


 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the involved player

fx

Effect structure containing parameters to apply. For details about the fields of this structure see the related Effects.DirectXEffectParamsSetChorus method

 

 

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.