#include <rawdata_audio_helper_interface.h>
◆ ~IZoomSDKAudioRawDataSender()
virtual IZoomSDKAudioRawDataSender::~IZoomSDKAudioRawDataSender |
( |
| ) |
|
|
inlinevirtual |
◆ send()
Send audio raw data. Audio sample must be 16-bit audio.
- Parameters
-
data | the audio data��s address. |
data_length | the audio data��s length. Must be an even number. |
sample_rate | the audio data��s sampling rate. When the channel is mono, supported sample rates: 8000/11025/16000/32000/44100/48000/50000/50400/96000/192000/2822400 When the channel is stereo, supported sample rates: 8000/16000/32000/44100/48000/50000/50400/96000/192000 |
- Returns
- If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise the function fails and returns an error code. To get extended error information, see SDKError enum.