Lines Matching refs:param
48 static int parsecmdline(int argc, char **argv,char **input_filename, char **output_filename, AACENC_PARAM *param)
54 param->adtsUsed = 1;
55 param->bitRate = 0;
56 param->nChannels = 2;
57 param->sampleRate = 44100;
84 param->sampleRate = atoi(*argv);
90 param->nChannels = atoi(*argv);
96 param->bitRate = atoi(*argv);
102 param->adtsUsed = atoi(*argv);
113 if(param->bitRate == 0)
116 if(param->sampleRate%8000 == 0)
118 param->bitRate = 640*param->nChannels*param->sampleRate/scale;