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

/frameworks/av/media/libaudioclient/
H A DAudioTrack.cpp80 static const bool kFixPitch = true; // enable pitch fix member in namespace:android
83 return kFixPitch ? (sampleRate * pitch + 0.5) : sampleRate;
88 return kFixPitch ? speed / max(pitch, AUDIO_TIMESTRETCH_PITCH_MIN_DELTA) : speed;
93 return kFixPitch ? AUDIO_TIMESTRETCH_PITCH_NORMAL : pitch;

Completed in 11 milliseconds