AudioBuffer stub

This commit is contained in:
Fernando Jiménez Moreno 2018-06-30 10:45:40 +02:00
parent 93990d437e
commit 3fe38a99ad
4 changed files with 113 additions and 1 deletions

View file

@ -17,7 +17,7 @@ use std::cell::Cell;
// 32 is the minimum required by the spec for createBuffer() and the deprecated
// createScriptProcessor() and matches what is used by Blink and Gecko.
// The limit protects against large memory allocations.
pub static MAX_CHANNEL_COUNT: u32 = 32;
pub const MAX_CHANNEL_COUNT: u32 = 32;
#[dom_struct]
pub struct AudioNode {