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

Unified Diff: components/arc/common/audio.mojom

Issue 1817093003: Host-side implementation of ARC audio bridge. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused override and update data type. Created 4 years, 9 months 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
« no previous file with comments | « components/arc/common/arc_bridge.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/common/audio.mojom
diff --git a/components/arc/common/audio.mojom b/components/arc/common/audio.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..16dd0e4d34ee8228f25cc87db77a5befad11fe98
--- /dev/null
+++ b/components/arc/common/audio.mojom
@@ -0,0 +1,19 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module arc;
+
+// Use same switch values as kernel switch events.
+[Extensible]
+enum AudioSwitch {
+ SW_HEADPHONE_INSERT = 0x02,
+ SW_MICROPHONE_INSERT = 0x04
+};
+
+interface AudioInstance {
+ // Notify plug states of headphone, microphone, etc. Each switch state is
+ // represented by the corresponding bit, if the bit is set then the switch
+ // is plugged/inserted.
+ NotifySwitchState(uint32 state);
+};
« no previous file with comments | « components/arc/common/arc_bridge.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698