Home
last modified time | relevance | path

Searched refs:samplingFreq (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libeffects/downmix/tests/
Ddownmixtest.cpp222 const int samplingFreq = atoi(argv[i] + 4); in main() local
223 if (samplingFreq != 8000 && samplingFreq != 11025 && in main()
224 samplingFreq != 12000 && samplingFreq != 16000 && in main()
225 samplingFreq != 22050 && samplingFreq != 24000 && in main()
226 samplingFreq != 32000 && samplingFreq != 44100 && in main()
227 samplingFreq != 48000 && samplingFreq != 88200 && in main()
228 samplingFreq != 96000 && samplingFreq != 176400 && in main()
229 samplingFreq != 192000) { in main()
230 printf("Unsupported Sampling Frequency : %d", samplingFreq); in main()
235 descriptor.config.inputCfg.samplingRate = samplingFreq; in main()
[all …]
/frameworks/av/media/libeffects/lvm/tests/
Dlvmtest.cpp73 int samplingFreq = 44100; member
415 params->SampleRate = lvmFsForSampleRate(plvmConfigParams->samplingFreq); in lvmControl()
417 ALOGE("lvmControl invalid sampling rate %d", plvmConfigParams->samplingFreq); in lvmControl()
553 const int samplingFreq = atoi(argv[i] + 4); in main() local
554 if (samplingFreq != 8000 && samplingFreq != 11025 && samplingFreq != 12000 && in main()
555 samplingFreq != 16000 && samplingFreq != 22050 && samplingFreq != 24000 && in main()
556 samplingFreq != 32000 && samplingFreq != 44100 && samplingFreq != 48000 && in main()
557 samplingFreq != 88200 && samplingFreq != 96000 && samplingFreq != 176400 && in main()
558 samplingFreq != 192000) { in main()
559 printf("Error: Unsupported Sampling Frequency : %d\n", samplingFreq); in main()
[all …]
/frameworks/av/media/libeffects/preprocessing/tests/
DPreProcessingTest.cpp65 int samplingFreq = 16000; member
258 preProcCfgParams.samplingFreq = atoi(optarg); in main()
352 config.inputCfg.samplingRate = config.outputCfg.samplingRate = preProcCfgParams.samplingFreq; in main()
414 const int frameLength = (int)(preProcCfgParams.samplingFreq * kTenMilliSecVal); in main()