Chromium Code Reviews
DescriptionFinal cleanup pass over audio device API
* Makes sure event names are not capitalized (old names are
not kept, as events in question do not seem to be used)
* Renames onDevicesChanged to onDeviceListChanged to make it
clearer that it's triggered only when list of devices change,
not when properties of a present device changes
* Add getDevices method
- replacement for getInfo method
- returns device info using AudioDeviceInfo (unified class for both
input and output devices), which is in line with properties
returned by recomended onDeviceListChanged event
- add support for filering returned device by stream type (input
vs. outptu devices) and device active state.
* Unify |volume| and |gain| property as |level| property in
setProperties method argument (consistent with usage of
AudioDeviceInfo to describe audio devices).
BUG=673392
Review-Url: https://codereview.chromium.org/2635983006
Cr-Commit-Position: refs/heads/master@{#450797}
Committed: https://chromium.googlesource.com/chromium/src/+/de70284d458bdca36d42eabeba7971c7087e2492
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : rebase #Patch Set 4 : rebase #
Total comments: 6
Patch Set 5 : . #Patch Set 6 : . #Patch Set 7 : rebase #Patch Set 8 : . #Patch Set 9 : . #
Total comments: 14
Patch Set 10 : review feedback #Patch Set 11 : . #Patch Set 12 : . #Messages
Total messages: 26 (11 generated)
|