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::AAC | Constructs a AAC object. |
Public Methods | |
AAC::configAudio | Configure AAC module by setting up audio parameters. |
AACClass::begin | Start AAC (Advanced Audio Codec) module audio encoder. |
AACClass::end | Start AAC (Advanced Audio Codec) module audio encoder. |
AACClass::printInfo | Print 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.