FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AVABufferSinkParams Struct Reference

Struct to use for initializing an abuffersink context. More...

#include <buffersink.h>

Data Fields

enum AVSampleFormatsample_fmts
 list of allowed sample formats, terminated by AV_SAMPLE_FMT_NONE
 
const int64_t * channel_layouts
 list of allowed channel layouts, terminated by -1
 
const int * channel_counts
 list of allowed channel counts, terminated by -1
 
int all_channel_counts
 if not 0, accept any channel count or layout
 
int * sample_rates
 list of allowed sample rates, terminated by -1
 

Detailed Description

Struct to use for initializing an abuffersink context.

Examples:
doc/examples/filtering_audio.c.

Definition at line 46 of file buffersink.h.

Field Documentation

enum AVSampleFormat* AVABufferSinkParams::sample_fmts

list of allowed sample formats, terminated by AV_SAMPLE_FMT_NONE

Examples:
doc/examples/filtering_audio.c.

Definition at line 47 of file buffersink.h.

Referenced by asink_init(), init_filters(), and lavfi_read_header().

const int64_t* AVABufferSinkParams::channel_layouts

list of allowed channel layouts, terminated by -1

Definition at line 48 of file buffersink.h.

Referenced by asink_init().

const int* AVABufferSinkParams::channel_counts

list of allowed channel counts, terminated by -1

Definition at line 49 of file buffersink.h.

Referenced by asink_init().

int AVABufferSinkParams::all_channel_counts

if not 0, accept any channel count or layout

Definition at line 50 of file buffersink.h.

Referenced by asink_init(), and configure_output_audio_filter().

int* AVABufferSinkParams::sample_rates

list of allowed sample rates, terminated by -1

Definition at line 51 of file buffersink.h.

Referenced by asink_init().


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