diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2005-12-06 19:42:02 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2005-12-06 19:42:02 +0000 |
commit | cefa838458fd1f6cdba2c5ced68c4571200ce0da (patch) | |
tree | 6d95f8a8c2f2467eee17ab29d6019efe7d1c4ebc /gst/audioresample/resample.h | |
parent | 9ed21f068c04d216976b9ef97a535a266f8009b6 (diff) | |
download | gst-plugins-bad-cefa838458fd1f6cdba2c5ced68c4571200ce0da.tar.gz gst-plugins-bad-cefa838458fd1f6cdba2c5ced68c4571200ce0da.tar.bz2 gst-plugins-bad-cefa838458fd1f6cdba2c5ced68c4571200ce0da.zip |
expand tabs
Original commit message from CVS:
expand tabs
Diffstat (limited to 'gst/audioresample/resample.h')
-rw-r--r-- | gst/audioresample/resample.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/gst/audioresample/resample.h b/gst/audioresample/resample.h index f27e2be4..fd67bf23 100644 --- a/gst/audioresample/resample.h +++ b/gst/audioresample/resample.h @@ -25,9 +25,9 @@ #include "buffer.h" typedef enum { - RESAMPLE_FORMAT_S16 = 0, - RESAMPLE_FORMAT_S32, - RESAMPLE_FORMAT_F32, + RESAMPLE_FORMAT_S16 = 0, + RESAMPLE_FORMAT_S32, + RESAMPLE_FORMAT_F32, RESAMPLE_FORMAT_F64 } ResampleFormat; @@ -36,25 +36,25 @@ typedef void (*ResampleCallback) (void *); typedef struct _ResampleState ResampleState; struct _ResampleState { - /* parameters */ + /* parameters */ - int n_channels; - ResampleFormat format; + int n_channels; + ResampleFormat format; - int filter_length; + int filter_length; - double i_rate; - double o_rate; + double i_rate; + double o_rate; int method; - /* internal parameters */ + /* internal parameters */ int need_reinit; - double halftaps; + double halftaps; - /* filter state */ + /* filter state */ void *o_buf; int o_size; @@ -63,27 +63,27 @@ struct _ResampleState { int eos; int started; - int sample_size; + int sample_size; - void *buffer; - int buffer_len; - int buffer_filled; + void *buffer; + int buffer_len; + int buffer_filled; - double i_start; - double o_start; + double i_start; + double o_start; - double i_inc; - double o_inc; + double i_inc; + double o_inc; double sinc_scale; - double i_end; - double o_end; + double i_end; + double o_end; - int i_samples; - int o_samples; + int i_samples; + int o_samples; - //void *i_buf; + //void *i_buf; Functable *ft; |