Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/
DAudioTrack.cpp99 static const bool kFixPitch = true; // enable pitch fix variable
102 return kFixPitch ? (sampleRate * pitch + 0.5) : sampleRate; in adjustSampleRate()
107 return kFixPitch ? speed / max(pitch, AUDIO_TIMESTRETCH_PITCH_MIN_DELTA) : speed; in adjustSpeed()
112 return kFixPitch ? AUDIO_TIMESTRETCH_PITCH_NORMAL : pitch; in adjustPitch()