ExternalSoundAnalysisPushData method |
|
Remarks
Receives a chunk of PCM sound data through a memory buffer provided by an external source in order to perform a sound waveform analysis.
Before invoking this method call the ExternalSoundAnalysisStart method which allows determining the format of PCM sound data passed inside the memory buffer.
Syntax
[Visual Basic] control.ExternalSoundAnalysisPushData ( pBuffer as variant, nBufferLength as long ) as enumErrorCodes |
[C++] short control.ExternalSoundAnalysisPushData ( const VARIANT FAR& pBuffer, long nBufferLength ); |
Parameter |
Description |
|
|
pBuffer |
Buffer containing PCM sound data. The format of PCM sound data is determined by a previous call to the ExternalSoundAnalysisStart method. |
nBufferLength |
Length of the input buffer expressed in bytes |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred, check the LastError property value in order to see the error code meaning |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful. |