mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
AudioBuffer.GetChannelData and internal storage
This commit is contained in:
parent
0cb053ad4c
commit
cb16c596b3
2 changed files with 95 additions and 21 deletions
|
@ -19,11 +19,11 @@ interface AudioBuffer {
|
|||
readonly attribute unsigned long length;
|
||||
readonly attribute double duration;
|
||||
readonly attribute unsigned long numberOfChannels;
|
||||
// Float32Array getChannelData(unsigned long channel);
|
||||
// void copyFromChannel(Float32Array destination,
|
||||
// unsigned long channelNumber,
|
||||
// optional unsigned long startInChannel = 0);
|
||||
// void copyToChannel (Float32Array source,
|
||||
// unsigned long channelNumber,
|
||||
// optional unsigned long startInChannel = 0);
|
||||
[Throws] Float32Array getChannelData(unsigned long channel);
|
||||
//[Throws] void copyFromChannel(Float32Array destination,
|
||||
// unsigned long channelNumber,
|
||||
// optional unsigned long startInChannel = 0);
|
||||
//[Throws] void copyToChannel(Float32Array source,
|
||||
// unsigned long channelNumber,
|
||||
// optional unsigned long startInChannel = 0);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue