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

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

Issue 11359146: Revert "Linux: change protobuf default option to allow building" (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
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
« 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
9 package remoting; 11 package remoting;
10 12
11 message AudioPacket { 13 message AudioPacket {
12 optional int32 timestamp = 1 [default = 0]; 14 optional int32 timestamp = 1 [default = 0];
13 15
14 // Packets with raw data must have exactly one data field. 16 // Packets with raw data must have exactly one data field.
15 // For those packets, samples are signed and represented using little endian. 17 // For those packets, samples are signed and represented using little endian.
16 // Some encoders (eg. Speex) may add multiple data fields to separate encoded 18 // Some encoders (eg. Speex) may add multiple data fields to separate encoded
17 // frames. 19 // frames.
18 repeated bytes data = 2; 20 repeated bytes data = 2;
(...skipping 25 matching lines...) Expand all
44 46
45 enum Channels { 47 enum Channels {
46 CHANNELS_INVALID = -1; 48 CHANNELS_INVALID = -1;
47 CHANNELS_MONO = 1; 49 CHANNELS_MONO = 1;
48 CHANNELS_STEREO = 2; 50 CHANNELS_STEREO = 2;
49 } 51 }
50 52
51 optional Channels channels = 6 [default = CHANNELS_INVALID]; 53 optional Channels channels = 6 [default = CHANNELS_INVALID];
52 } 54 }
53 55
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