From b3f3c7c1a9cd16306484a345d805b86f6bcbe7ef Mon Sep 17 00:00:00 2001 From: Paul ADENOT Date: Mon, 30 Sep 2013 15:31:51 -0400 Subject: [PATCH] Issue 114 - Spec argument range of createBuffer. Those can only be non-null positive and inside their eventual nominal range. INDEX_SIZE_ERR is thrown. --- index.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index d12ba1f1b..1d718e699 100644 --- a/index.html +++ b/index.html @@ -929,10 +929,9 @@

4.1.2. Methods and Parameters

The createBuffer method

Creates an AudioBuffer of the given size. The audio data in the buffer will be zero-initialized (silent). An NOT_SUPPORTED_ERR exception MUST be thrown if - the numberOfChannels or sampleRate are out-of-bounds, - or if length is 0.

+ any of the arguments is negative, zero, or outside its nominal range.

The numberOfChannels parameter - determines how many channels the buffer will have. An implementation must support at least 32 channels.

+ determines how many channels the buffer will have. An implementation must support at least 32 channels.

The length parameter determines the size of the buffer in sample-frames.

The sampleRate parameter describes