W3C home > Mailing lists > Public > public-audio@w3.org > October to December 2012

[Bug 20229] New: It is not exact to describe close function of AudioBufferSourceNode

From: <bugzilla@jessica.w3.org>
Date: Tue, 04 Dec 2012 08:46:43 +0000
To: public-audio@w3.org
Message-ID: <bug-20229-5429@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20229

            Bug ID: 20229
           Summary: It is not exact to describe close function of
                    AudioBufferSourceNode
    Classification: Unclassified
           Product: AudioWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Web Audio API
          Assignee: crogers@google.com
          Reporter: li.yin@intel.com
        QA Contact: public-audio@w3.org

>From the spec, it says "stop must only be called one time and only after a call
to start or stop, or an exception will be thrown."

It's confused to me that if stop can be called only one time, it should be
impossible that stop can be called after stop. In offlinemode, stop can be
called multiple times from web developers' eyes.

So maybe it will be more reasonable if we describe it like this:
start can be called only when playbackState is UNSCHEDULED_STATE, or
InvalidStateError exception will be thrown.
stop can be called only when playbackState is SCHEDULED_STATE or PLAYING_STATE,
if not, InvalidStateError exception will be thrown.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 4 December 2012 08:46:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:03 UTC