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

Unified Diff: remoting/proto/audio.proto

Issue 10827324: Changed AudioPacket data to a repeated field. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 8 years, 4 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
« remoting/host/audio_capturer_win.cc ('K') | « remoting/host/audio_capturer_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/proto/audio.proto
diff --git a/remoting/proto/audio.proto b/remoting/proto/audio.proto
index eabfcfeb55b31b949a3a070ac6161709ec921f5b..d23071cbdf3f82c0e009eb50f6da5cd442b60836 100644
--- a/remoting/proto/audio.proto
+++ b/remoting/proto/audio.proto
@@ -13,8 +13,11 @@ package remoting;
message AudioPacket {
optional int32 timestamp = 1 [default = 0];
- // Data is always signed and represented using little endian.
- optional bytes data = 2;
+ // Packets with raw data must have exactly one data field.
+ // For those packets, samples are signed and represented using little endian.
+ // Some encoders (eg. Speex) may add multiple data fields to separate encoded
+ // frames.
+ repeated bytes data = 2;
enum Encoding {
ENCODING_INVALID = -1;
« remoting/host/audio_capturer_win.cc ('K') | « remoting/host/audio_capturer_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698