Public Member Functions

 AudioFrame ()
 
 ~AudioFrame ()
 

Public Attributes

AUDIO_FRAME_TYPE type
 
union {
   AudioPcmFrame *   pcm
 
   AudioAacFrame *   aac
 
frame
 
MEMORY_TYPE mType
 

Detailed Description

The audio frame format.

Constructor & Destructor Documentation

◆ AudioFrame()

agora::linuxsdk::AudioFrame::AudioFrame ( )

◆ ~AudioFrame()

agora::linuxsdk::AudioFrame::~AudioFrame ( )

Member Data Documentation

◆ type

AUDIO_FRAME_TYPE agora::linuxsdk::AudioFrame::type

The audio frame format, PCM or ACC.

◆ pcm

AudioPcmFrame* agora::linuxsdk::AudioFrame::pcm

Audio data in PCM format. See the structure of AudioPcmFrame.

◆ aac

AudioAacFrame* agora::linuxsdk::AudioFrame::aac

Audio data in AAC format. See the structure of AudioAacFrame.

◆ frame

union { ... } agora::linuxsdk::AudioFrame::frame

◆ mType

MEMORY_TYPE agora::linuxsdk::AudioFrame::mType