Go to the source code of this file.
Value:static void delay_channel_##
name ##p(
ChanDelay *d,
int nb_samples, \
{ \
\
while (nb_samples) { \
if (d->delay_index < d->delay) { \
const
int len =
FFMIN(nb_samples, d->delay - d->delay_index); \
\
memcpy(&samples[d->delay_index], src, len *
sizeof(
type)); \
memset(dst, fill, len *
sizeof(
type)); \
} else { \
*dst = samples[d->index]; \
samples[d->index] = *
src; \
nb_samples--; \
d->index++; \
src++, dst++; \
d->index = d->index >= d->delay ? 0 : d->index; \
} \
} \
}
Definition at line 86 of file af_adelay.c.
AVFILTER_DEFINE_CLASS |
( |
adelay |
| ) |
|
Initial value:= {
{
.name = "default",
},
}
Definition at line 253 of file af_adelay.c.
Initial value:= {
{
.name = "default",
},
}
Definition at line 263 of file af_adelay.c.
Initial value:= {
.name = "adelay",
.priv_class = &adelay_class,
}
Definition at line 272 of file af_adelay.c.