Skip to content

Fix #348: Add latencyHint, replacing playbackCategory - #775

Merged
padenot merged 6 commits into
WebAudio:gh-pagesfrom
rtoy:348-processing-latency
May 12, 2016
Merged

padenot merged 6 commits into
WebAudio:gh-pagesfrom
rtoy:348-processing-latency

Conversation

@rtoy

@rtoy rtoy commented Mar 28, 2016

Copy link
Copy Markdown
Member

This updates and replaces the current playbackCategory to a
latencyHint that accepts an AudioContextLatencyCategory (a renaming of
AudioContextPlaybackCategory to reflect better the actual intent) or a
double for finer control of the latency.

An additional attribute, processingLatency, is added to the
BaseAudioContext to indicate what latency was actually used by the
context.

Raymond Toy added 2 commits March 28, 2016 10:28
This updates and replaces the current playbackCategory to a
latencyHint that accepts an AudioContextLatencyCategory (a renaming of
AudioContextPlaybackCategory to reflect better the actual intent) or a
double for finer control of the latency.

An additional attribute, processingLatency, is added to the
BaseAudioContext to indicate what latency was actually used by the
context.
Comment thread index.html
Describes the current state of the <a>AudioContext</a>, on the
<a>control thread</a>.
</dd>
<dt>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed at the F2F, processingLatency is renamed to baseLatency

Update links and other references appropriately.
Comment thread index.html Outdated
browser's discretion to interpret the number appropriately. The
actual latency used is given by AudioContext's <a href=
"#widl-BaseAudioContext-baseLatency">baseLatency</a>
attribute.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The base latency does not include the system +hardware latency, and I think latencyHint can influence it, I think the last sentence is a bit confusing.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the description of baseLatency in the AudioContext section enough? Or should I add more text here as well?

@padenot
padenot merged commit 7f128c4 into WebAudio:gh-pages May 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants