internal void InternalSetPitch(float pitch) { if (m_audioTrack != null) { int x = (int)((float)SamplingFrequency * pitch); x = MathUtils.Min(x, 2 * AudioTrack.GetNativeOutputSampleRate(Stream.Music)); Mixer.CheckTrackStatus((TrackStatus)m_audioTrack.SetPlaybackRate(x)); } }