AACClass

AACClass

Description
A class used to encode an audio data stream using AAC (Advanced Audio Codec) standard.

Syntax
class AAC

Members

Public Constructors 
AAC::AACConstructs a AAC object.
Public Methods 
AAC::configAudioConfigure AAC module by setting up audio parameters.
AACClass::beginStart AAC (Advanced Audio Codec) module audio encoder.
AACClass::endStart AAC (Advanced Audio Codec) module audio encoder.
AACClass::printInfoPrint out current configuration of AAC.

AAC::configAudio

Description
Configure AAC module by setting up audio parameters.

Syntax
void configAudio(AudioSetting& config);

Parameters
config: AudioSetting object.

Returns
NA

Example Code
NA

Notes and Warnings
“Audio.h” must be included to use the class function.

AACClass::begin

Description
Start AAC (Advanced Audio Codec) encoder process.

Syntax
void begin(void);

Parameters
NA

Returns
NA

Example Code
SingleVideoWithAudio
(https://github.com/ambiot/ambpro2_arduino/blob/dev/Arduino_package/hardware/libraries/Video/examples/StreamRTSP/SingleVideoWithAudio/SingleVideoWithAudio.ino)

Notes and Warnings
“Audio.h” must be included to use the class function.

AACClass::end

Description
Stop AAC (Advanced Audio Codec) encoder process.

Syntax
void end(void);

Parameters
NA

Returns
NA

Example Code
NA

Notes and Warnings
“Audio.h” must be included to use the class function.

AACClass::printInfo

Description
Print out current configuration of AAC encoder.

Syntax
void printInfo(void);

Parameters
NA

Returns
NA

Example Code
SingleVideoWithAudio
(https://github.com/ambiot/ambpro2_arduino/blob/dev/Arduino_package/hardware/libraries/Video/examples/StreamRTSP/SingleVideoWithAudio/SingleVideoWithAudio.ino)

Notes and Warnings
“Audio.h” must be included to use the class function.

請先確認已安裝QQ通訊軟體