| // services/audio/public/mojom/audio_device_description.mojom-lite.js is auto generated by mojom_bindings_generator.py, do not edit |
| |
| // Copyright 2018 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| /** |
| * @fileoverview |
| * @suppress {missingRequire} |
| */ |
| 'use strict'; |
| |
| |
| mojo.internal.exportModule('audio.mojom'); |
| |
| |
| |
| |
| |
| |
| |
| /** |
| * @const { {$:!mojo.internal.MojomType}} |
| * @export |
| */ |
| audio.mojom.AudioDeviceDescriptionSpec = |
| { $: /** @type {!mojo.internal.MojomType} */ ({}) }; |
| |
| |
| |
| |
| mojo.internal.Struct( |
| audio.mojom.AudioDeviceDescriptionSpec.$, |
| 'AudioDeviceDescription', |
| [ |
| mojo.internal.StructField( |
| 'deviceName', 0, |
| 0, |
| mojo.internal.String, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'uniqueId', 8, |
| 0, |
| mojo.internal.String, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'groupId', 16, |
| 0, |
| mojo.internal.String, |
| null, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'isSystemDefault', 24, |
| 0, |
| mojo.internal.Bool, |
| false, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| mojo.internal.StructField( |
| 'isCommunicationsDevice', 24, |
| 1, |
| mojo.internal.Bool, |
| false, |
| false, /* nullable */ |
| 0 /* minVersion */, |
| ), |
| ], |
| [[0, 40],]); |
| |
| |
| |
| |
| |
| /** @record */ |
| audio.mojom.AudioDeviceDescription = class { |
| constructor() { |
| /** @export { !string } */ |
| this.deviceName; |
| /** @export { !string } */ |
| this.uniqueId; |
| /** @export { !string } */ |
| this.groupId; |
| /** @export { !boolean } */ |
| this.isSystemDefault; |
| /** @export { !boolean } */ |
| this.isCommunicationsDevice; |
| } |
| }; |
| |