Searched refs:minfreq (Results 1 - 1 of 1) sorted by relevance

/frameworks/av/services/audioflinger/tests/
H A Dtest_utils.h212 size_t channels, double sampleRate, double minfreq, double maxfreq)
217 double k = (maxfreq - minfreq) / (2. * tscale * frames);
220 double y = sin(2. * M_PI * (k * t + minfreq) * t);
250 void setChirp(size_t channels, double minfreq, double maxfreq, double sampleRate, double time) argument
253 createChirp<T>(mAddr, mNumFrames, mChannels, mSampleRate, minfreq, maxfreq);
211 createChirp(void *vbuffer, size_t frames, size_t channels, double sampleRate, double minfreq, double maxfreq) argument

Completed in 39 milliseconds