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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user