67 #define OFFSET(x) offsetof(EvalContext, x)
68 #define FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
88 char *expr, *buf, *bufptr;
91 eval->
class = &aevalsrc_class;
103 while (expr =
av_strtok(buf,
":", &bufptr)) {
109 if (bufptr && *bufptr ==
':') {
129 "Mismatch between the specified number of channels '%d' "
130 "and the number of channels '%d' in the specified channel layout '%s'\n",
156 eval->
duration = (double)us / 1000000;
170 for (i = 0; i < 8; i++) {
192 "sample_rate:%d chlayout:%s duration:%f\n",
202 int64_t chlayouts[] = { eval->
chlayout, -1 };
225 for (i = 0; i < eval->
nb_samples; i++, eval->
n++) {
235 samplesref->
pts = eval->
pts;
236 samplesref->
pos = -1;
265 .priv_class = &aevalsrc_class,