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

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: 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..7bfc37f04b20e2e7df8a3babb7100c0e53460c1c 100644
--- a/remoting/proto/audio.proto
+++ b/remoting/proto/audio.proto
@@ -14,7 +14,9 @@ message AudioPacket {
optional int32 timestamp = 1 [default = 0];
// Data is always signed and represented using little endian.
Sergey Ulanov 2012/08/14 18:50:05 this makes sense only for raw audio packets. Updat
kxing 2012/08/14 20:56:15 Done.
- optional bytes data = 2;
+ // Raw data will have exactly one data field.
Sergey Ulanov 2012/08/14 18:50:05 s/Raw data will/Packets with raw data must/
kxing 2012/08/14 20:56:15 Done.
+ // For encoded data, each data field represents one frame.
Sergey Ulanov 2012/08/14 18:50:05 It may not be necessary to frame data, depending o
kxing 2012/08/14 20:56:15 Done.
+ 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