include/SDL_audio.h
changeset 3021 f3dcf04412cf
parent 2866 e532417a6977
child 3407 d3baf5ac4e37
     1.1 --- a/include/SDL_audio.h	Sun Jan 11 04:46:14 2009 +0000
     1.2 +++ b/include/SDL_audio.h	Sun Jan 11 04:46:42 2009 +0000
     1.3 @@ -147,15 +147,10 @@
     1.4      SDL_AudioFormat dst_format; /* Target audio format */
     1.5      double rate_incr;           /* Rate conversion increment */
     1.6      Uint8 *buf;                 /* Buffer to hold entire audio data */
     1.7 -    Uint8 *coeff;               /* Filter coefficients: either big windowed sinc filter, or 6 IIR lowpass coefficients */
     1.8 -    Uint8 *state_buf;           /* Sample history for either the FIR or IIR filter. For IIR filter, first two elements are X, second two are Y, and state_pos toggles the order */
     1.9 -    int state_pos;              /* Position in the state */
    1.10 -    int len_sinc;               /* Length of windowed sinc filter, in appropriate units (not necessarily bytes) */
    1.11      int len;                    /* Length of original audio buffer */
    1.12      int len_cvt;                /* Length of converted audio buffer */
    1.13      int len_mult;               /* buffer must be len*len_mult big */
    1.14 -    int len_div;                /* destination length = len_mult / len_div * src length */
    1.15 -    double len_ratio;           /* Given len, final size is len*len_ratio ( len_ratio = len_mult / len_div ) */
    1.16 +    double len_ratio;           /* Given len, final size is len*len_ratio */
    1.17      SDL_AudioFilter filters[10];        /* Filter list */
    1.18      int filter_index;           /* Current audio conversion function */
    1.19  } SDL_AudioCVT;