Home | History | Annotate | Download | only in audio_processing
      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 }
     24 
     25 message Event {
     26   enum Type {
     27     INIT = 0;
     28     REVERSE_STREAM = 1;
     29     STREAM = 2;
     30   }
     31 
     32   required Type type = 1;
     33 
     34   optional Init init = 2;
     35   optional ReverseStream reverse_stream = 3;
     36   optional Stream stream = 4;
     37 }
     38