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.

Detailed Description

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 init().

int av_get_channel_layout_nb_channels ( uint64_t  channel_layout)

Return the number of channels in the channel layout.

Definition at line 126 of file audioconvert.c.

Referenced by av_get_channel_layout_string(), avcodec_open2(), avfilter_default_get_audio_buffer(), config_props(), ff_mov_get_channel_layout_tag(), transcode(), and transcode_init().

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
bufput here the string containing the channel layout
buf_sizesize in bytes of the buffer

Definition at line 92 of file audioconvert.c.

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