added 16000hz test, changed downsampling to at least 2 * pixel freq

This commit is contained in:
Ahmet Inan 2011-09-26 15:26:48 +02:00
parent bf05c488aa
commit e73d00a09b
4 changed files with 11 additions and 4 deletions

View file

@ -121,7 +121,7 @@ int main(int argc, char **argv)
#if DN && !UP
int64_t factor_L = 1;
// factor_M * step should be smaller than pixel length
int64_t factor_M = rate * 0.088 / 320.0;
int64_t factor_M = rate * 0.088 / 320.0 / 2;
#endif
#if !DN
int64_t factor_L = 1;