Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / webrtc / modules / audio_processing / debug.proto
1 syntax = "proto2";
2 option optimize_for = LITE_RUNTIME;
3 package webrtc.audioproc;
4
5 message Init {
6   optional int32 sample_rate = 1;
7   optional int32 device_sample_rate = 2;
8   optional int32 num_input_channels = 3;
9   optional int32 num_output_channels = 4;
10   optional int32 num_reverse_channels = 5;
11 }
12
13 message ReverseStream {
14   optional bytes data = 1;
15 }
16
17 message Stream {
18   optional bytes input_data = 1;
19   optional bytes output_data = 2;
20   optional int32 delay = 3;
21   optional sint32 drift = 4;
22   optional int32 level = 5;
23   optional bool keypress = 6;
24 }
25
26 message Event {
27   enum Type {
28     INIT = 0;
29     REVERSE_STREAM = 1;
30     STREAM = 2;
31   }
32
33   required Type type = 1;
34
35   optional Init init = 2;
36   optional ReverseStream reverse_stream = 3;
37   optional Stream stream = 4;
38 }