format audio filter
More...
#include "libavutil/avstring.h"
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "audio.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
Go to the source code of this file.
Detailed Description
format audio filter
Definition in file af_aformat.c.
Macro Definition Documentation
#define PARSE_FORMATS |
( |
|
str, |
|
|
|
type, |
|
|
|
list, |
|
|
|
add_to_list, |
|
|
|
get_fmt, |
|
|
|
none, |
|
|
|
desc |
|
) |
| |
Value:do { \
char *next, *cur = str; \
while (cur) { \
next = strchr(cur, ','); \
if (next) \
if ((fmt = get_fmt(cur)) == none) { \
av_log(ctx,
AV_LOG_ERROR,
"Error parsing " desc
": %s.\n", cur);\
goto fail; \
} \
add_to_list(&list, fmt); \
\
cur = next; \
} \
} while (0)
Definition at line 60 of file af_aformat.c.
Referenced by init().
Typedef Documentation
Function Documentation
AVFILTER_DEFINE_CLASS |
( |
aformat |
| ) |
|
static int get_sample_rate |
( |
const char * |
samplerate | ) |
|
|
static |
Variable Documentation
Initial value: {
.name = "aformat",
.priv_class = &aformat_class,
}
Definition at line 145 of file af_aformat.c.
Initial value: {
{
.name = "default",
},
}
Definition at line 129 of file af_aformat.c.
Initial value: {
{
.name = "default",
},
}
Definition at line 137 of file af_aformat.c.