feat: allow speed/pitch from 0.01x to 5x

This commit is contained in:
Aliberk Sandıkçı 2024-10-20 19:47:35 +03:00
parent 103b9fd0e6
commit 5a331415cd
No known key found for this signature in database
GPG key ID: 25C67A03B5666BC1

View file

@ -44,8 +44,8 @@ public class PlaybackParameterDialog extends DialogFragment {
private static final String TAG = "PlaybackParameterDialog";
// Minimum allowable range in ExoPlayer
private static final double MIN_PITCH_OR_SPEED = 0.10f;
private static final double MAX_PITCH_OR_SPEED = 3.00f;
private static final double MIN_PITCH_OR_SPEED = 0.01f;
private static final double MAX_PITCH_OR_SPEED = 5.00f;
private static final boolean PITCH_CTRL_MODE_PERCENT = false;
private static final boolean PITCH_CTRL_MODE_SEMITONE = true;