NERtc Unity SDK  V4.5.907
Public Attributes | List of all members
nertc.RtcAudioFormat Struct Reference

Public Attributes

RtcAudioType type
 
uint channels
 
uint sampleRate
 
uint bytesPerSample
 
uint samplesPerChannel
 

Detailed Description

The audio format.

Member Data Documentation

◆ type

RtcAudioType nertc.RtcAudioFormat.type

Audio type.

◆ channels

uint nertc.RtcAudioFormat.channels

the number of channels. If the audio is a stereo sound, the data interleaved. mono: 1. stereo: 2.

◆ sampleRate

uint nertc.RtcAudioFormat.sampleRate

The sample rate.

◆ bytesPerSample

uint nertc.RtcAudioFormat.bytesPerSample

The number of bytes per sample. For PCM, 16 bits are used, which means 2 bytes.

◆ samplesPerChannel

uint nertc.RtcAudioFormat.samplesPerChannel

The number of samples per room.


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