comparison audioDB.cpp @ 274:1c76d5f41708 sampling

Let the user specify the number of samples to take on the command-line.
author mas01cr
date Mon, 23 Jun 2008 09:49:22 +0000
parents 40a93d5d462c
children dee55886eca0
comparison
equal deleted inserted replaced
273:c8c97224f3c7 274:1c76d5f41708
218 dbName = args_info.database_arg; 218 dbName = args_info.database_arg;
219 sequenceLength = args_info.sequencelength_arg; 219 sequenceLength = args_info.sequencelength_arg;
220 if(sequenceLength < 1 || sequenceLength > 1000) { 220 if(sequenceLength < 1 || sequenceLength > 1000) {
221 error("seqlen out of range: 1 <= seqlen <= 1000"); 221 error("seqlen out of range: 1 <= seqlen <= 1000");
222 } 222 }
223 nsamples = args_info.nsamples_arg;
223 return 0; 224 return 0;
224 } 225 }
225 226
226 if(args_info.DUMP_given){ 227 if(args_info.DUMP_given){
227 command=COM_DUMP; 228 command=COM_DUMP;