Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
CustomDSP.UseFloatSamples method 
 
Remarks 
 
Tells to the component to pass floating point samples to DSP callbacks instead of 8 or 16 bits samples. 
 
For further details about methods related to the use of custom DSP effects refer to the CustomDSP COM object. 
Further information about the use of Custom DSP effects can be found inside the How to manage custom DSP effects tutorial. 
 
 
Syntax 
 
[Visual Basic] 
control.CustomDSP.UseFloatSamples
bUseFloatSamples as enumBoolean 
 
[C++] 
short control.CustomDSP.UseFloatSamples
short bUseFloatSamples 
);
 
 
Parameter
Description
 
 
bUseFloatSamples
Boolean value that tells if the callback function needs to receive floating point samples. 
Supported values are the following: 
Mnemonic constant
Value
Meaning
BOOL_FALSE (default)
0
The callback function will receive original 8 or 16 bits samples
BOOL_TRUE
1
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.NOERROR (0)
The method call was successful.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents