зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1265400 - Use unsigned long for AudioBuffer length and numberOfChannels; r=smaug
MozReview-Commit-ID: 47ZDDvj5QrA --HG-- extra : rebase_source : 2c441c7d04ec84eeec526a9a93607ffcac263617
This commit is contained in:
Родитель
7d91961d6a
Коммит
3fde1b5f43
|
@ -70,7 +70,7 @@ public:
|
|||
return mSampleRate;
|
||||
}
|
||||
|
||||
int32_t Length() const
|
||||
uint32_t Length() const
|
||||
{
|
||||
return mLength;
|
||||
}
|
||||
|
|
|
@ -13,12 +13,12 @@
|
|||
interface AudioBuffer {
|
||||
|
||||
readonly attribute float sampleRate;
|
||||
readonly attribute long length;
|
||||
readonly attribute unsigned long length;
|
||||
|
||||
// in seconds
|
||||
readonly attribute double duration;
|
||||
|
||||
readonly attribute long numberOfChannels;
|
||||
readonly attribute unsigned long numberOfChannels;
|
||||
|
||||
[Throws]
|
||||
Float32Array getChannelData(unsigned long channel);
|
||||
|
|
Загрузка…
Ссылка в новой задаче