#include <rawdata_audio_helper_interface.h>
◆ ~IZoomSDKAudioRawDataSender()
virtual IZoomSDKAudioRawDataSender::~IZoomSDKAudioRawDataSender |
( |
| ) |
|
|
inlinevirtual |
◆ send()
virtual SDKError IZoomSDKAudioRawDataSender::send |
( |
char * |
data, |
|
|
unsigned int |
data_length, |
|
|
int |
sample_rate |
|
) |
| |
|
pure virtual |
Send audio raw data, channel number must be mono, and sampling bits must be 16.
- Parameters
-
data,The | address of audio data. |
data_length,The | length of audio data, it must be even numbers. |
sample_rate,The | sampling rate of audio data(8000/11025/32000/44100/48000/50000/50400/96000/192000/2822400). |
- Returns
- If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise failed. To get extended error information, see SDKError enum.