66 #define OFFSET(x) offsetof(EvalContext, x)
67 #define FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
71 {
"nb_samples",
"set the number of samples per requested frame",
OFFSET(nb_samples),
AV_OPT_TYPE_INT, {.i64 = 1024}, 0, INT_MAX,
FLAGS },
72 {
"n",
"set the number of samples per requested frame",
OFFSET(nb_samples),
AV_OPT_TYPE_INT, {.i64 = 1024}, 0, INT_MAX,
FLAGS },
99 while (expr =
av_strtok(buf,
"|", &buf)) {
106 NULL, NULL, NULL, NULL, 0, ctx);
120 "Mismatch between the specified number of channels '%d' "
121 "and the number of channels '%d' in the specified channel layout '%s'\n",
153 eval->
expr[i] = NULL;
171 "sample_rate:%d chlayout:%s duration:%"PRId64
"\n",
206 for (i = 0; i < eval->
nb_samples; i++, eval->
n++) {
216 samplesref->
pts = eval->
pts;
242 .priv_class = &aevalsrc_class,