Remarks
Sends raw PCM audio data to the queue previously started through the StartFromQueueRaw method..
For details about the encoding format and parameters applied during recording see the How to perform a recording session section.
Syntax
[Visual Basic]
Public Function SendDataToQueueRaw (
pBuffer() as Byte,
nBufferLength as Int32
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes SendDataToQueueRaw (
byte[] pBuffer,
Int32 nBufferLength
);
|
|
[C++]
public: enumErrorCodes SendDataToQueueRaw (
unsigned char __gc[] pBuffer,
Int32 nBufferLength
);
|
|
Parameter
|
Description
|
|
|
pBuffer
|
Input buffer containing RAW audio data in the same format established by the StartFromQueueRaw method
|
nBufferLen
|
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 last error.
|
enumErrorCodes.ERR_NOERROR (0)
|
The method call was successful.
|
|