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

Side by Side Diff: webrtc/modules/audio_processing/debug.proto

Issue 1878533002: Store reverse output rate and number of channels in APM protobuf recordings (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « webrtc/modules/audio_processing/audio_processing_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 syntax = "proto2"; 1 syntax = "proto2";
2 option optimize_for = LITE_RUNTIME; 2 option optimize_for = LITE_RUNTIME;
3 package webrtc.audioproc; 3 package webrtc.audioproc;
4 4
5 // Contains the format of input/output/reverse audio. An Init message is added 5 // Contains the format of input/output/reverse audio. An Init message is added
6 // when any of the fields are changed. 6 // when any of the fields are changed.
7 message Init { 7 message Init {
8 optional int32 sample_rate = 1; 8 optional int32 sample_rate = 1;
9 optional int32 device_sample_rate = 2 [deprecated=true]; 9 optional int32 device_sample_rate = 2 [deprecated=true];
10 optional int32 num_input_channels = 3; 10 optional int32 num_input_channels = 3;
11 optional int32 num_output_channels = 4; 11 optional int32 num_output_channels = 4;
12 optional int32 num_reverse_channels = 5; 12 optional int32 num_reverse_channels = 5;
13 optional int32 reverse_sample_rate = 6; 13 optional int32 reverse_sample_rate = 6;
14 optional int32 output_sample_rate = 7; 14 optional int32 output_sample_rate = 7;
15 optional int32 reverse_output_sample_rate = 8;
16 optional int32 num_reverse_output_channels = 9;
15 } 17 }
16 18
17 // May contain interleaved or deinterleaved data, but don't store both formats. 19 // May contain interleaved or deinterleaved data, but don't store both formats.
18 message ReverseStream { 20 message ReverseStream {
19 // int16 interleaved data. 21 // int16 interleaved data.
20 optional bytes data = 1; 22 optional bytes data = 1;
21 23
22 // float deinterleaved data, where each repeated element points to a single 24 // float deinterleaved data, where each repeated element points to a single
23 // channel buffer of data. 25 // channel buffer of data.
24 repeated bytes channel = 2; 26 repeated bytes channel = 2;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 UNKNOWN_EVENT = 4; 80 UNKNOWN_EVENT = 4;
79 } 81 }
80 82
81 required Type type = 1; 83 required Type type = 1;
82 84
83 optional Init init = 2; 85 optional Init init = 2;
84 optional ReverseStream reverse_stream = 3; 86 optional ReverseStream reverse_stream = 3;
85 optional Stream stream = 4; 87 optional Stream stream = 4;
86 optional Config config = 5; 88 optional Config config = 5;
87 } 89 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/audio_processing_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698