libavfilter/af_ashowinfo.c File Reference

filter for showing textual audio frame information More...

#include "libavutil/adler32.h"
#include "libavutil/audioconvert.h"
#include "libavutil/timestamp.h"
#include "audio.h"
#include "avfilter.h"

Go to the source code of this file.

Data Structures

struct  ShowInfoContext


static av_cold int init (AVFilterContext *ctx, const char *args)
static int filter_samples (AVFilterLink *inlink, AVFilterBufferRef *samplesref)


AVFilter avfilter_af_ashowinfo

Detailed Description

filter for showing textual audio frame information

Definition in file af_ashowinfo.c.

Function Documentation

static int filter_samples ( AVFilterLink inlink,
AVFilterBufferRef samplesref 
) [static]

Definition at line 43 of file af_ashowinfo.c.

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

Definition at line 36 of file af_ashowinfo.c.

Variable Documentation

Initial value:

    .name        = "ashowinfo",
    .description = NULL_IF_CONFIG_SMALL("Show textual information for each audio frame."),

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

    .inputs    = (const AVFilterPad[]) {{ .name       = "default",
                                    .type             = AVMEDIA_TYPE_AUDIO,
                                    .get_audio_buffer = ff_null_get_audio_buffer,
                                    .filter_samples   = filter_samples,
                                    .min_perms        = AV_PERM_READ, },
                                  { .name = NULL}},

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

Definition at line 89 of file af_ashowinfo.c.

Generated on Fri Oct 26 02:50:09 2012 for FFmpeg by  doxygen 1.5.8