camera_audiocodec_t

Updated: May 06, 2022

The audio compression formats used by the video encoder

Synopsis:

#include <camera/camera_api.h>
typedef enum {
    CAMERA_AUDIOCODEC_NONE = 0,
    CAMERA_AUDIOCODEC_AAC,
    CAMERA_AUDIOCODEC_RAW
} camera_audiocodec_t;

Data:

CAMERA_AUDIOCODEC_NONE
No audio is encoded in the video.
CAMERA_AUDIOCODEC_AAC
MPEG-2/4 AAC compression.
CAMERA_AUDIOCODEC_RAW
Uncompressed PCM audio samples.

Library:

libcamapi