mirror of
https://github.com/servo/servo.git
synced 2025-08-08 15:05:35 +01:00
Make OfflineAudioContextOptions spec compliant
This commit is contained in:
parent
19e4c627a3
commit
3b8cb83e04
2 changed files with 21 additions and 25 deletions
|
@ -8,12 +8,12 @@
|
|||
|
||||
dictionary OfflineAudioContextOptions {
|
||||
unsigned long numberOfChannels = 1;
|
||||
unsigned long length = 0;
|
||||
float sampleRate = 48000.;
|
||||
required unsigned long length;
|
||||
required float sampleRate;
|
||||
};
|
||||
|
||||
[Exposed=Window,
|
||||
Constructor (optional OfflineAudioContextOptions contextOptions),
|
||||
Constructor (OfflineAudioContextOptions contextOptions),
|
||||
Constructor (unsigned long numberOfChannels, unsigned long length, float sampleRate)]
|
||||
interface OfflineAudioContext : BaseAudioContext {
|
||||
readonly attribute unsigned long length;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue