summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/resample/resample.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/resample/resample.h')
-rw-r--r--gst-libs/gst/resample/resample.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/gst-libs/gst/resample/resample.h b/gst-libs/gst/resample/resample.h
index 1c4216b3..34d6f9d6 100644
--- a/gst-libs/gst/resample/resample.h
+++ b/gst-libs/gst/resample/resample.h
@@ -78,12 +78,20 @@ struct gst_resample_s {
void *i_buf, *o_buf;
- double acc[10];
+ double acc[2];
+ union {
+ struct {
+ double *out_tmp;
+ int out_tmp_len;
+ } s;
+ double padding[8];
+ } hack_union;
/* methods */
void (*scale)(gst_resample_t *r);
double ack;
+
};
void gst_resample_init(gst_resample_t *r);