Agora RTC Objective-C API Reference Refactor

Data Fields
AudioSinkWants Struct Reference

## Data Fields
int | samplesPerSec
size_t | channels

## Detailed Description

Properties of audio frames expected by a sink.

Note
  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/3]

AudioSinkWants | ( |  | ) |
| inline

## ◆ AudioSinkWants() [2/3]

AudioSinkWants | ( | int | sampleRate,
|  | size_t | chs
| ) |  |
| inline

## ◆ AudioSinkWants() [3/3]

AudioSinkWants | ( | int | sampleRate,
|  | size_t | chs,
|  | int | trackNum
| ) |  |
| inline

## Field Documentation

## ◆ samplesPerSec

int samplesPerSec

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

## ◆ channels

size_t channels

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