Copyright © 2008-2018 MultiMedia Soft

Effects.DirectXApply method

Previous pageReturn to chapter overviewNext page

Remarks

 

Applies a DirectX Media Object (DMO) effect to the given portion of sound under editing.

 

A successful call to this method will fire the SoundEditStarted event followed by a number of SoundEditPerc events and finally by the SoundEditDone event.

 

DirectX effects requires the availability of DirectX version 8 or higher on the target system and can be applied only if a call to the GetDirectSoundVersion method returns a value higher than 7.

 

For further details about methods related to the use of special effects refer to the EffectsMan class.

 

 

Overload list

 

Sets parameters for the Chorus effect

[Visual Basic] Overloads Public Function Effects.DirectXApply (Int32, Int32, ByRef Microsoft.DirectX.DirectSound.EffectsChorus) As enumErrorCodes

[C#] public enumErrorCodes Effects.DirectXApply (Int32, Int32, ref Microsoft.DirectX.DirectSound.EffectsChorus);

[C++] public: enumErrorCodes Effects.DirectXApply (Int32, Int32, Microsoft::DirectX::DirectSound::EffectsChorus __gc *);

 

Sets parameters for the Compressor effect

[Visual Basic] Overloads Public Function Effects.DirectXApply (Int32, Int32, ByRef Microsoft.DirectX.DirectSound.EffectsCompressor) As enumErrorCodes

[C#] public enumErrorCodes Effects.DirectXApply (Int32, Int32, ref Microsoft.DirectX.DirectSound.EffectsCompressor);

[C++] public: enumErrorCodes Effects.DirectXApply (Int32, Int32, Microsoft::DirectX::DirectSound::EffectsCompressor __gc *);

 

Sets parameters for the Distortion effect

[Visual Basic] Overloads Public Function Effects.DirectXApply (Int32, Int32, ByRef Microsoft.DirectX.DirectSound.EffectsDistortion) As enumErrorCodes

[C#] public enumErrorCodes Effects.DirectXApply (Int32, Int32, ref Microsoft.DirectX.DirectSound.EffectsDistortion);

[C++] public: enumErrorCodes Effects.DirectXApply (Int32, Int32, Microsoft::DirectX::DirectSound::EffectsDistortion __gc *);

 

Sets parameters for the Echo effect

[Visual Basic] Overloads Public Function Effects.DirectXApply (Int32, Int32, ByRef Microsoft.DirectX.DirectSound.EffectsEcho) As enumErrorCodes

[C#] public enumErrorCodes Effects.DirectXApply (Int32, Int32, ref Microsoft.DirectX.DirectSound.EffectsEcho);

[C++] public: enumErrorCodes Effects.DirectXApply (Int32, Int32, Microsoft::DirectX::DirectSound::EffectsEcho __gc *);

 

Sets parameters for the Flanger effect

[Visual Basic] Overloads Public Function Effects.DirectXApply (Int32, Int32, ByRef Microsoft.DirectX.DirectSound.EffectsFlanger) As enumErrorCodes

[C#] public enumErrorCodes Effects.DirectXApply (Int32, Int32, ref Microsoft.DirectX.DirectSound.EffectsFlanger);

[C++] public: enumErrorCodes Effects.DirectXApply (Int32, Int32, Microsoft::DirectX::DirectSound::EffectsFlanger __gc *);

 

Sets parameters for the Gargle effect

[Visual Basic] Overloads Public Function Effects.DirectXApply (Int32, Int32, ByRef Microsoft.DirectX.DirectSound.EffectsGargle) As enumErrorCodes

[C#] public enumErrorCodes Effects.DirectXApply (Int32, Int32, ref Microsoft.DirectX.DirectSound.EffectsGargle);

[C++] public: enumErrorCodes Effects.DirectXApply (Int32, Int32, Microsoft::DirectX::DirectSound::EffectsGargle __gc *);

 

Sets parameters for the Parametric Equalizer effect

[Visual Basic] Overloads Public Function Effects.DirectXApply (Int32, Int32, ByRef Microsoft.DirectX.DirectSound.EffectsParamEq) As enumErrorCodes

[C#] public enumErrorCodes Effects.DirectXApply (Int32, Int32, ref Microsoft.DirectX.DirectSound.EffectsParamEq);

[C++] public: enumErrorCodes Effects.DirectXApply (Int32, Int32, Microsoft::DirectX::DirectSound::EffectsParamEq __gc *);

 

Sets parameters for the Interactive 3D Level 2 Reverb effect

[Visual Basic] Overloads Public Function Effects.DirectXApply (Int32, Int32, ByRef Microsoft.DirectX.DirectSound.EffectsInteractive3DLevel2Reverb) As enumErrorCodes

[C#] public enumErrorCodes Effects.DirectXApply (Int32, Int32, ref Microsoft.DirectX.DirectSound.EffectsInteractive3DLevel2Reverb);

[C++] public: enumErrorCodes Effects.DirectXApply (Int32, Int32, Microsoft::DirectX::DirectSound::EffectsInteractive3DLevel2Reverb __gc *);

 

Sets parameters for the Waves Reverb effect

[Visual Basic] Overloads Public Function Effects.DirectXApply (Int32, Int32, ByRef Microsoft.DirectX.DirectSound.EffectsWavesReverb) As enumErrorCodes

[C#] public enumErrorCodes Effects.DirectXApply (Int32, Int32, ref Microsoft.DirectX.DirectSound.EffectsWavesReverb);

[C++] public: enumErrorCodes Effects.DirectXApply (Int32, Int32, Microsoft::DirectX::DirectSound::EffectsWavesReverb __gc *);