ILMAEcho

Data Types

ECHO_ATTRIBUTES

typedef struct 
{ 
   long lDryMix; 
   long lWetMix; 
   long lDelay; 
   long lFeedback; 
   BOOL bEnabled; 
   long lDDryMix; 
   long lDWetMix; 
   long lDDelay; 
   long lDFeedback; 
   BOOL bDEnabled; 
} ECHO_ATTRIBUTES; 

Describes the echo attributes.

Members

lDryMix

Controls the level of unprocessed signals. Adjust to control the pass-through volume of the unprocessed signal.

lWetMix

Controls the level of processed signals. Adjust to control the pass-through volume of the processed signal.

lDelay

Controls the level of the echo. Larger values result in greater delay times.

lFeedback

Feedback of the repeated signal, by default from -100 to 100. Zero feedback will result in only a single repeat, while nonzero feedback settings will generate numerous repeats.

bEnabled

Indicates whether the echo effect is enabled (TRUE) or not (FALSE).

lDDryMix

Default Dry Mix value. Original default value is 70.

lDWetMix

Default Wet Mix value. Original default value is 50.

lDDelay

Default depth value. Original default value is 500.

lDFeedback

Default feedback value. Original default value is 25.

bDEnabled

Default for bEnabled value. Original default value is TRUE.

Methods

HRESULT GetNumChannels (int *nChannels)

Description

Gets the number of channels per sample of the current connected media format.

Parameters

pnChannels

Valid pointer to an integer variable to be updated with the number of channels.

Returns

Return Description
S_OK Successful.
S_FALSE Otherwise.

HRESULT SetEchoAttributes(ECHO_ATTRIBUTES EchoAttributes)

Description

Sets the properties for the echo effect.

Parameters

EchoAttributes

ECHO_ATTRIBUTES structure that contains the attributes to set.

Returns

Return Description
S_OK Successful.
S_FALSE Otherwise.

HRESULT GetEchoAttributes(ECHO_ATTRIBUTES* pEchoAttributes)

Description

Retrieves the current echo attributes.

Parameters

pEchoAttributes

Valid pointer to an ECHO_ATTRIBUTES structure to be updated with the current echo attributes.

Returns

Return Description
S_OK Successful.
S_FALSE Otherwise.
Help Version 22.0.2022.6.24
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Filters C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.