Copyright © 2008-2018 MultiMedia Soft

RawAudioFromExternalSourcePush method

Previous pageReturn to chapter overviewNext page

Remarks

 

Receives a chunk of raw audio data through a memory buffer provided by an external source: reception of raw audio data must be started by a previous call to the RawAudioFromExternalSourceStart method.

 

 

Syntax

 

[Visual Basic]

control.RawAudioFromExternalSourcePush (

pBuffer as variant,

nBufferLen as long

) as enumErrorCodes


 

[C++]

short control.RawAudioFromExternalSourcePush (

const VARIANT FAR& pBuffer,

long nBufferLen

);


 

 

Parameter

Description

 

 

pBuffer

Input buffer containing the original sound

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.