67 #define OFFSET(x) offsetof(EvalContext, x) 
   68 #define FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM 
   72     { 
"nb_samples",  
"set the number of samples per requested frame", 
OFFSET(nb_samples),      
AV_OPT_TYPE_INT,    {.i64 = 1024},    0,        INT_MAX, 
FLAGS },
 
   73     { 
"n",           
"set the number of samples per requested frame", 
OFFSET(nb_samples),      
AV_OPT_TYPE_INT,    {.i64 = 1024},    0,        INT_MAX, 
FLAGS },
 
  103                             NULL, NULL, NULL, NULL, 0, ctx);
 
  119                    "Mismatch between the specified number of channels '%d' " 
  120                    "and the number of channels '%d' in the specified channel layout '%s'\n",
 
  146         eval->
duration = (double)us / 1000000;
 
  160     for (i = 0; i < 8; i++) {
 
  162         eval->
expr[i] = NULL;
 
  182            "sample_rate:%d chlayout:%s duration:%f\n",
 
  192     int64_t chlayouts[] = { eval->
chlayout, -1 };
 
  217     for (i = 0; i < eval->
nb_samples; i++, eval->
n++) {
 
  227     samplesref->
pts = eval->
pts;
 
  254     .priv_class  = &aevalsrc_class,