Searched refs:kFixPitch (Results 1 – 1 of 1) sorted by relevance
73 static const bool kFixPitch = true; // enable pitch fix variable76 return kFixPitch ? (sampleRate * pitch + 0.5) : sampleRate; in adjustSampleRate()81 return kFixPitch ? speed / max(pitch, AUDIO_TIMESTRETCH_PITCH_MIN_DELTA) : speed; in adjustSpeed()86 return kFixPitch ? AUDIO_TIMESTRETCH_PITCH_NORMAL : pitch; in adjustPitch()