Bug 1651703: fix min and max values in AudioParamDescriptor now we don't need this workaround to support MSVC. r=karlt,baku

Differential Revision: https://phabricator.services.mozilla.com/D82977
This commit is contained in:
Arnaud Bienner 2020-07-27 09:50:21 +00:00
parent 32ef7a0c14
commit 0b0b160bc4

View File

@ -14,12 +14,8 @@
dictionary AudioParamDescriptor {
required DOMString name;
float defaultValue = 0;
// FIXME: we use 3.402823466e38 instead of 3.4028235e38 to workaround a bug
// in Visual Studio compiler (see bug 1501709 for more information).
// We should put back 3.4028235e38 once MSVC support is dropped (i.e. once
// bug 1512504 is fixed)
float minValue = -3.402823466e38;
float maxValue = 3.402823466e38;
float minValue = -3.4028235e38;
float maxValue = 3.4028235e38;
// AutomationRate for AudioWorklet is not needed until bug 1504984 is
// implemented
// AutomationRate automationRate = "a-rate";