Repository navigation
Fix #348: Add latencyHint, replacing playbackCategory - #775
Merged
Merged
Conversation
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.
| Describes the current state of the <a>AudioContext</a>, on the | ||
| <a>control thread</a>. | ||
| </dd> | ||
| <dt> |
Member
Author
There was a problem hiding this comment.
As discussed at the F2F, processingLatency is renamed to baseLatency
Update links and other references appropriately.
| 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. |
Member
There was a problem hiding this comment.
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.
Member
Author
There was a problem hiding this comment.
Is the description of baseLatency in the AudioContext section enough? Or should I add more text here as well?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This updates and replaces the current
playbackCategoryto alatencyHintthat accepts anAudioContextLatencyCategory(a renaming ofAudioContextPlaybackCategoryto reflect better the actual intent) or adouble for finer control of the latency.
An additional attribute,
processingLatency, is added to theBaseAudioContextto indicate what latency was actually used by thecontext.