Modules

 Audio channel masks
 Audio channel convenience macros

Functions

uint64_t av_get_channel_layout (const char *name)
 Return a channel layout id that matches name, 0 if no match.
void av_get_channel_layout_string (char *buf, int buf_size, int nb_channels, uint64_t channel_layout)
 Return a description of a channel layout.
int av_get_channel_layout_nb_channels (uint64_t channel_layout)
 Return the number of channels in the channel layout.

Function Documentation

uint64_t av_get_channel_layout ( const char *  name  ) 

Return a channel layout id that matches name, 0 if no match.

Definition at line 80 of file audioconvert.c.

Referenced by avcodec_get_channel_layout(), and init().

int av_get_channel_layout_nb_channels ( uint64_t  channel_layout  ) 
void av_get_channel_layout_string ( char *  buf,
int  buf_size,
int  nb_channels,
uint64_t  channel_layout 
)

Return a description of a channel layout.

If nb_channels is <= 0, it is guessed from the channel_layout.

Parameters:
buf put here the string containing the channel layout
buf_size size in bytes of the buffer

Definition at line 92 of file audioconvert.c.

Referenced by avcodec_get_channel_layout_string(), avcodec_string(), config_props(), dprint_options(), ff_alsa_open(), ff_dlog_link(), and print_digraph().