Server Gateway SDK v3.8.202.20 for Linux C++
Public Member Functions | Public Attributes | List of all members
agora::rtc::AudioSinkWants Struct Reference

#include <NGIAgoraAudioTrack.h>

Public Member Functions

 AudioSinkWants ()
 AudioSinkWants (int sampleRate, size_t chs)

Public Attributes

int samplesPerSec
size_t channels

Detailed Description

Properties of audio frames expected by a sink.

The source determines the audio frame to be sent to the sink based on a variety of factors, such as other sinks or the capability of the source.

Constructor & Destructor Documentation

◆ AudioSinkWants() [1/2]

agora::rtc::AudioSinkWants::AudioSinkWants ( )

◆ AudioSinkWants() [2/2]

agora::rtc::AudioSinkWants::AudioSinkWants ( int  sampleRate,
size_t  chs 

Member Data Documentation

◆ channels

size_t agora::rtc::AudioSinkWants::channels

The number of audio channels of the audio frame to be sent to the sink.

◆ samplesPerSec

int agora::rtc::AudioSinkWants::samplesPerSec

The sample rate of the audio frame to be sent to the sink.

The documentation for this struct was generated from the following file: