@ -67,15 +67,15 @@ typedef struct {
OPT_GENERIC ( name , field , def , min , max , descr , STRING , str , __VA_ARGS__ )
static const AVOption sine_options [ ] = {
OPT_DBL ( " frequency " , frequency , 440 , 0 , DBL_MAX , " set the sine frequency " ) ,
OPT_DBL ( " f " , frequency , 440 , 0 , DBL_MAX , " set the sine frequency " ) ,
OPT_DBL ( " beep_factor " , beep_factor , 0 , 0 , DBL_MAX , " set the beep fequency factor " ) ,
OPT_DBL ( " b " , beep_factor , 0 , 0 , DBL_MAX , " set the beep fequency factor " ) ,
OPT_INT ( " sample_rate " , sample_rate , 44100 , 1 , INT_MAX , " set the sample rate " ) ,
OPT_INT ( " r " , sample_rate , 44100 , 1 , INT_MAX , " set the sample rate " ) ,
OPT_DUR ( " duration " , duration , 0 , 0 , INT64_MAX , " set the audio duration " ) ,
OPT_DUR ( " d " , duration , 0 , 0 , INT64_MAX , " set the audio duration " ) ,
OPT_STR ( " samples_per_frame " , samples_per_frame , " 1024 " , 0 , 0 , " set the number of samples per frame " ) ,
OPT_DBL ( " frequency " , frequency , 440 , 0 , DBL_MAX , " set the sine frequency " , ) ,
OPT_DBL ( " f " , frequency , 440 , 0 , DBL_MAX , " set the sine frequency " , ) ,
OPT_DBL ( " beep_factor " , beep_factor , 0 , 0 , DBL_MAX , " set the beep fequency factor " , ) ,
OPT_DBL ( " b " , beep_factor , 0 , 0 , DBL_MAX , " set the beep fequency factor " , ) ,
OPT_INT ( " sample_rate " , sample_rate , 44100 , 1 , INT_MAX , " set the sample rate " , ) ,
OPT_INT ( " r " , sample_rate , 44100 , 1 , INT_MAX , " set the sample rate " , ) ,
OPT_DUR ( " duration " , duration , 0 , 0 , INT64_MAX , " set the audio duration " , ) ,
OPT_DUR ( " d " , duration , 0 , 0 , INT64_MAX , " set the audio duration " , ) ,
OPT_STR ( " samples_per_frame " , samples_per_frame , " 1024 " , 0 , 0 , " set the number of samples per frame " , ) ,
{ NULL }
} ;