Searched refs:pitch (Results 26 - 28 of 28) sorted by relevance

12

/frameworks/av/media/libaudioclient/
H A DAudioTrack.cpp85 // FIXME: we don't use the pitch setting in the time stretcher (not working);
87 static const bool kFixPitch = true; // enable pitch fix
88 static inline uint32_t adjustSampleRate(uint32_t sampleRate, float pitch) argument
90 return kFixPitch ? (sampleRate * pitch + 0.5) : sampleRate;
93 static inline float adjustSpeed(float speed, float pitch) argument
95 return kFixPitch ? speed / max(pitch, AUDIO_TIMESTRETCH_PITCH_MIN_DELTA) : speed;
98 static inline float adjustPitch(float pitch) argument
100 return kFixPitch ? AUDIO_TIMESTRETCH_PITCH_NORMAL : pitch;
931 // pitch is emulated by adjusting speed and sampleRate
983 // pitch i
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java251 * Default pitch.
531 public static final String KEY_PARAM_PITCH = "pitch";
1382 * Sets the speech pitch for the TextToSpeech engine.
1386 * @param pitch Speech pitch. {@code 1.0} is the normal pitch,
1392 public int setPitch(float pitch) { argument
1393 if (pitch > 0.0f) {
1394 int intPitch = (int)(pitch * 100);
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h1745 SLmillidegree pitch,
1899 SLmillidegree pitch,
2435 SLpermille pitch
2452 /* back. A change in rate will cause a change in pitch. */

Completed in 106 milliseconds

12