Bug 1376509 - Bump supported playack rates to [1/16,16]. r=padenot

Chrome supports playback rates in the ranges of [1/16,16], so we may as well
support the same.

MozReview-Commit-ID: 7mMXQfPiv9d
This commit is contained in:
Chris Pearce
2017-06-28 10:00:58 -07:00
parent 68112a7c1d
commit ccdba556af
2 changed files with 5 additions and 5 deletions

View File

@@ -148,9 +148,9 @@ static const uint32_t STALL_MS = 3000;
// These constants are arbitrary
// Minimum playbackRate for a media
static const double MIN_PLAYBACKRATE = 0.25;
static const double MIN_PLAYBACKRATE = 1.0 / 16;
// Maximum playbackRate for a media
static const double MAX_PLAYBACKRATE = 5.0;
static const double MAX_PLAYBACKRATE = 16.0;
// These are the limits beyonds which SoundTouch does not perform too well and when
// speech is hard to understand anyway.
// Threshold above which audio is muted