libavfilter/asrc_anullsrc.c File Reference

null audio source More...

#include "avfilter.h"
#include "libavutil/audioconvert.h"

Go to the source code of this file.

Data Structures

struct  ANullContext

Functions

static int init (AVFilterContext *ctx, const char *args, void *opaque)
static int config_props (AVFilterLink *outlink)
static int request_frame (AVFilterLink *link)

Variables

AVFilter avfilter_asrc_anullsrc


Detailed Description

null audio source

Definition in file asrc_anullsrc.c.


Function Documentation

static int config_props ( AVFilterLink outlink  )  [static]

Definition at line 59 of file asrc_anullsrc.c.

static int init ( AVFilterContext ctx,
const char *  args,
void *  opaque 
) [static]

Definition at line 32 of file asrc_anullsrc.c.

static int request_frame ( AVFilterLink link  )  [static]

Definition at line 77 of file asrc_anullsrc.c.

Referenced by avfilter_request_frame().


Variable Documentation

Initial value:

 {
    .name        = "anullsrc",
    .description = NULL_IF_CONFIG_SMALL("Null audio source, never return audio frames."),

    .init        = init,
    .priv_size   = sizeof(ANullContext),

    .inputs      = (AVFilterPad[]) {{ .name = NULL}},

    .outputs     = (AVFilterPad[]) {{ .name = "default",
                                      .type = AVMEDIA_TYPE_AUDIO,
                                      .config_props = config_props,
                                      .request_frame = request_frame, },
                                    { .name = NULL}},
}

Definition at line 82 of file asrc_anullsrc.c.


Generated on Fri Oct 26 02:39:47 2012 for FFmpeg by  doxygen 1.5.8