Audio merging filter.
More...
#include "libavutil/avstring.h"
#include "libavutil/bprint.h"
#include "libavutil/channel_layout.h"
#include "libavutil/opt.h"
#include "libswresample/swresample.h"
#include "avfilter.h"
#include "audio.h"
#include "bufferqueue.h"
#include "internal.h"
Go to the source code of this file.
Detailed Description
Audio merging filter.
Definition in file af_amerge.c.
Macro Definition Documentation
Function Documentation
AVFILTER_DEFINE_CLASS |
( |
amerge |
| ) |
|
static void copy_samples |
( |
int |
nb_inputs, |
|
|
struct amerge_input |
in[], |
|
|
int * |
route, |
|
|
uint8_t * |
ins[], |
|
|
uint8_t ** |
outs, |
|
|
int |
ns, |
|
|
int |
bps |
|
) |
| |
|
inlinestatic |
Copy samples from several input streams to one output stream.
- Parameters
-
nb_inputs | number of inputs |
in | inputs; used only for the nb_ch field; |
route | routing values; input channel i goes to output channel route[i]; i < in[0].nb_ch are the channels from the first output; i >= in[0].nb_ch are the channels from the second output |
ins | pointer to the samples of each inputs, in packed format; will be left at the end of the copied samples |
outs | pointer to the samples of the output, in packet format; must point to a buffer big enough; will be left at the end of the copied samples |
ns | number of samples to copy |
bps | bytes per sample |
Definition at line 201 of file af_amerge.c.
Variable Documentation
Initial value: {
{
"inputs",
"specify the number of inputs",
OFFSET(nb_inputs),
{0}
}
Definition at line 52 of file af_amerge.c.
Initial value: {
{
.name = "default",
},
}
Definition at line 334 of file af_amerge.c.
Initial value: {
.name = "amerge",
"a single multi-channel stream."),
.priv_class = &amerge_class,
}
Definition at line 344 of file af_amerge.c.