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

Change request: playbackPosition attribute for AudioBufferSourceNode

From: Robert Clouth <rob.clouth@gmail.com>
Date: Fri, 2 Dec 2011 14:33:29 +0000
Message-ID: <CALbutwk2vik_Jw7o0uFvBTcv28t08HR+VSOckK1TaXkmXq-3Tg@mail.gmail.com>
To: public-audio@w3.org, crogers@google.com

AudioBufferSourceNode is missing a playbackPosition attribute that
is essential for wave views and playback position displays. We think
it requires only a simple change to the code. What's is the procedure for
change requests?

Proposed additions:

float playbackPosition() { return m_virtualReadIndex / sampleRate; }

readonly attribute float playbackPosition;


Rob Clouth
Received on Friday, 2 December 2011 14:33:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:49:57 UTC