Copyright © 2011-2019 MultiMedia Soft

Effects.CustomDspUseFloatSamples method

Previous pageReturn to chapter overviewNext page

Remarks

 

Tells to the component to pass floating point samples to DSP callbacks instead of 8 or 16 bits samples.

 

For further details about managing a custom DSP effect refer to the How to manage custom DSP effects section.

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

 

 

Syntax

 

[Visual Basic]

Public Function CustomDspUseFloatSamples (

bUseFloatSamples as Boolean

) as enumErrorCodes


 

[C#]

public enumErrorCodes CustomDspUseFloatSamples (

bool bUseFloatSamples

);


 

[C++]

public: enumErrorCodes CustomDspUseFloatSamples (

bool bUseFloatSamples

);


 

 

Parameter

Description

 

 

bUseFloatSamples

Boolean value that specifies if the callback function needs to receive floating samples.

Supported values are the following:

Value

Meaning

false (default)

The callback function will receive original 8 or 16 bits samples

true

The callback function will receive samples converted to floating point values

 

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.