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

Side by Side 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: Updated commit message 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 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 module arc;
6
7 // Use same switch values as kernel switch events.
8 enum AudioSwitch {
Luis Héctor Chávez 2016/03/23 16:22:13 Do you plan on adding entries to this enum or will
chinyue 2016/03/25 09:50:31 Done.
9 SW_HEADPHONE_INSERT = 0x02,
10 SW_MICROPHONE_INSERT = 0x04
11 };
12
13 interface AudioHost {
14 };
15
16 interface AudioInstance {
17 // Establishes full-duplex communication with the host.
18 Init(AudioHost host_ptr);
elijahtaylor1 2016/03/23 01:24:55 if you don't have a meaningful Host interface, you
chinyue 2016/03/25 09:50:31 Done.
19
20 // Notify plug states of headphone, microphone, etc. Each switch state is
21 // represented by the corresponding bit, if the bit is set then the switch
22 // is plugged/inserted.
23 NotifySwitchState(uint32 state);
24 };
OLDNEW
« components/arc/audio/arc_audio_bridge.cc ('K') | « components/arc/common/arc_bridge.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698