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

Side by Side Diff: remoting/proto/audio.proto

Issue 11228038: Linux: change protobuf default option to allow building (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « dbus/test_proto.proto ('k') | remoting/proto/control.proto » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Protocol for audio messages. 5 // Protocol for audio messages.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME;
10
11 package remoting; 9 package remoting;
12 10
13 message AudioPacket { 11 message AudioPacket {
14 optional int32 timestamp = 1 [default = 0]; 12 optional int32 timestamp = 1 [default = 0];
15 13
16 // Packets with raw data must have exactly one data field. 14 // Packets with raw data must have exactly one data field.
17 // For those packets, samples are signed and represented using little endian. 15 // For those packets, samples are signed and represented using little endian.
18 // Some encoders (eg. Speex) may add multiple data fields to separate encoded 16 // Some encoders (eg. Speex) may add multiple data fields to separate encoded
19 // frames. 17 // frames.
20 repeated bytes data = 2; 18 repeated bytes data = 2;
(...skipping 25 matching lines...) Expand all
46 44
47 enum Channels { 45 enum Channels {
48 CHANNELS_INVALID = -1; 46 CHANNELS_INVALID = -1;
49 CHANNELS_MONO = 1; 47 CHANNELS_MONO = 1;
50 CHANNELS_STEREO = 2; 48 CHANNELS_STEREO = 2;
51 } 49 }
52 50
53 optional Channels channels = 6 [default = CHANNELS_INVALID]; 51 optional Channels channels = 6 [default = CHANNELS_INVALID];
54 } 52 }
55 53
OLDNEW
« no previous file with comments | « dbus/test_proto.proto ('k') | remoting/proto/control.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698