Copyright © 2013-2017 MultiMedia Soft

ExternalSoundAnalysisPushData method

Previous pageReturn to chapter overviewNext page

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]

Public Function ExternalSoundAnalysisPushData (

pBuffer() as Byte,

nBufferLength as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes ExternalSoundAnalysisPushData (

byte[] pBuffer,

Int32 nBufferLength

);


 

[C++]

public: enumErrorCodes ExternalSoundAnalysisPushData (

unsigned char __gc[] pBuffer,

Int32 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 in bytes of the given buffer

 

 

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.