Define a fallback version string.
[opus.git] / src / opus_encoder.h
index ca1e28a..7900835 100644 (file)
 #define MAX_ENCODER_BUFFER 480
 
 struct OpusEncoder {
-    int          celt_enc_offset;
-    int          silk_enc_offset;
-    silk_EncControlStruct silk_mode;
+       int          celt_enc_offset;
+       int          silk_enc_offset;
+       silk_EncControlStruct silk_mode;
     int          hybrid_stereo_width_Q14;
-    int          channels;
-    int          stream_channels;
+       int          channels;
+       int          stream_channels;
+    int          force_mono;
 
     int          mode;
     int          user_mode;
-    int          force_mono;
     int          prev_mode;
-    int          bandwidth;
-    int          user_bandwidth;
-    int          voice_ratio;
+    int          signal_type;
+       int          bandwidth;
+       int          user_bandwidth;
+       int          voice_ratio;
     /* Sampling rate (at the API level) */
     int          Fs;
     int          use_vbr;
@@ -61,9 +62,7 @@ struct OpusEncoder {
     int          first;
     short        delay_buffer[MAX_ENCODER_BUFFER*2];
 
-#ifdef OPUS_TEST_RANGE_CODER_STATE
     int          rangeFinal;
-#endif
 };