Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(813)

Unified Diff: third_party/WebKit/Source/modules/webaudio/BaseAudioContext.idl

Issue 2501863003: Support for AudioContextOptions latencyHint. (Closed)
Patch Set: Add baseLatency and fix use of hardwareSampleRate. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webaudio/BaseAudioContext.idl
diff --git a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.idl b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.idl
index 274ea99c335be7167422a0e2fa788cd30eb5e31a..3d3345ceeeb989cac74b5eb6031d3573486fb040 100644
--- a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.idl
+++ b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.idl
@@ -28,6 +28,9 @@ enum AudioContextState {
// Current state of the AudioContext
readonly attribute AudioContextState state;
+ // Number of seconds of processing latency incurred by the AudioContext passing the audio from the AudioDestinationNode to the audio subsystem
Raymond Toy 2016/11/30 21:50:27 I think this is a spec issue (for which I've filed
Andrew MacPherson 2016/12/01 12:11:56 Done, I've moved this to the AudioContext now.
+ readonly attribute double baseLatency;
+
[RaisesException] AudioBuffer createBuffer(unsigned long numberOfChannels, unsigned long numberOfFrames, float sampleRate);
// Asynchronous audio file data decoding.

Powered by Google App Engine
This is Rietveld 408576698