Video SDK for Windows API Reference
Loading...
Searching...
No Matches
IZoomVideoSDKAudioSender Class Referenceabstract

Audio raw data sender interface. More...

#include <zoom_video_sdk_audio_send_rawdata_interface.h>

Public Member Functions

virtual ~IZoomVideoSDKAudioSender ()
 
virtual ZoomVideoSDKErrors Send (char *data, unsigned int data_length, int sample_rate, ZoomVideoSDKAudioChannel channel=ZoomVideoSDKAudioChannel_Mono)=0
 Send audio raw data. Audio sample must be 16-bit audio.
 

Detailed Description

Audio raw data sender interface.

Definition at line 14 of file zoom_video_sdk_audio_send_rawdata_interface.h.

Constructor & Destructor Documentation

◆ ~IZoomVideoSDKAudioSender()

virtual IZoomVideoSDKAudioSender::~IZoomVideoSDKAudioSender ( )
inlinevirtual

Definition at line 17 of file zoom_video_sdk_audio_send_rawdata_interface.h.

17{}

Member Function Documentation

◆ Send()

virtual ZoomVideoSDKErrors IZoomVideoSDKAudioSender::Send ( char * data,
unsigned int data_length,
int sample_rate,
ZoomVideoSDKAudioChannel channel = ZoomVideoSDKAudioChannel_Mono )
pure virtual

Send audio raw data. Audio sample must be 16-bit audio.

Parameters
datathe audio data¡¯s address.
data_lengththe audio data¡¯s length. Must be an even number.
sample_ratethe audio data¡¯s sampling rate. Supported audio data properties: 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 Channels: mono and stereo resolution: little-endian, 16bit