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

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/AudioContextOptions.idl

Issue 2501863003: Support for AudioContextOptions latencyHint. (Closed)
Patch Set: Updates based on reviewer comments. Created 4 years 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // TODO: without this typedef the AudioContextLatencyCategoryOrDouble type is
6 // not generated
hongchan 2016/12/02 17:40:12 I think this is the right way - the comment is red
Andrew MacPherson 2016/12/05 14:12:53 Done.
7 typedef (AudioContextLatencyCategory or double) LatencyHint;
8
9 // See https://webaudio.github.io/web-audio-api/#audiocontextoptions
10 dictionary AudioContextOptions {
11 LatencyHint latencyHint = "interactive";
12 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698