Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
snd_codec_desc Struct Reference

#include <compress_params.h>

Data Fields

__u32 max_ch
 
__u32 sample_rates
 
__u32 bit_rate [MAX_NUM_BITRATES]
 
__u32 num_bitrates
 
__u32 rate_control
 
__u32 profiles
 
__u32 modes
 
__u32 formats
 
__u32 min_buffer
 
__u32 reserved [15]
 

Detailed Description

struct snd_codec_desc - description of codec capabilities : Maximum number of audio channels : Sampling rates in Hz, use SNDRV_PCM_RATE_xxx for this : Indexed array containing supported bit rates : Number of valid values in bit_rate array : value is specified by SND_RATECONTROLMODE defines. : Supported profiles. See SND_AUDIOPROFILE defines. : Supported modes. See SND_AUDIOMODE defines : Supported formats. See SND_AUDIOSTREAMFORMAT defines : Minimum buffer size handled by codec implementation : reserved for future use

This structure provides a scalar value for profiles, modes and stream format fields. If an implementation supports multiple combinations, they will be listed as codecs with different descriptors, for example there would be 2 descriptors for AAC-RAW and AAC-ADTS. This entails some redundancy but makes it easier to avoid invalid configurations.

Definition at line 347 of file compress_params.h.

Field Documentation

Definition at line 350 of file compress_params.h.

__u32 formats

Definition at line 355 of file compress_params.h.

__u32 max_ch

Definition at line 348 of file compress_params.h.

__u32 min_buffer

Definition at line 356 of file compress_params.h.

__u32 modes

Definition at line 354 of file compress_params.h.

__u32 num_bitrates

Definition at line 351 of file compress_params.h.

__u32 profiles

Definition at line 353 of file compress_params.h.

__u32 rate_control

Definition at line 352 of file compress_params.h.

__u32 reserved[15]

Definition at line 357 of file compress_params.h.

__u32 sample_rates

Definition at line 349 of file compress_params.h.


The documentation for this struct was generated from the following file: