A frame descriptor for compressed audio frame types.


#include <camera/camera_api.h>
typedef struct  {
    uint64_t bufsize ;
    camera_audiocodec_t codec ;
    bool keyframe ;
    uint32_t channels ;
    uint32_t bits ;
    uint32_t samplerate ;
    uint64_t bitrate ;


BlackBerry 10.0.0


uint64_t bufsize
The size of the buffer as a 64-bit integer.
camera_audiocodec_t codec
The format of the compressed audio.
bool keyframe
A flag indicating whether this frame is a keyframe.
uint32_t channels
Number of channels in the audio stream.
uint32_t bits
Number of bits per sample per channel.
uint32_t samplerate
Uncompressed sample rate in hertz (Hz).
uint64_t bitrate
Bitrate expressed in bits per second.


libcamapi (For the qcc command, use the -l camapi option to link against this library)


Use this frame descriptor when CAMERA_FRAMETYPE_COMPRESSEDAUDIO is reported as the camera_frametype_t.

Last modified: 2014-06-24

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus