diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2005-08-24 14:08:58 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2005-08-24 14:08:58 +0000 |
commit | c4763dbb33c77f064d73147c05194d393cea5d9a (patch) | |
tree | b1492d21a0a235b3f1eb43b36e3c4f2614c0dc77 /gst/audioresample/resample.h | |
parent | 0232ff9645070024f90e7c83b821fb472c46e34b (diff) | |
download | gst-plugins-bad-c4763dbb33c77f064d73147c05194d393cea5d9a.tar.gz gst-plugins-bad-c4763dbb33c77f064d73147c05194d393cea5d9a.tar.bz2 gst-plugins-bad-c4763dbb33c77f064d73147c05194d393cea5d9a.zip |
port audioresample to basetransform
Original commit message from CVS:
port audioresample to basetransform
Diffstat (limited to 'gst/audioresample/resample.h')
-rw-r--r-- | gst/audioresample/resample.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gst/audioresample/resample.h b/gst/audioresample/resample.h index 9be54f46..ea4aa305 100644 --- a/gst/audioresample/resample.h +++ b/gst/audioresample/resample.h @@ -21,8 +21,8 @@ #ifndef __RESAMPLE_H__ #define __RESAMPLE_H__ -#include <audioresample/functable.h> -#include <audioresample/buffer.h> +#include "functable.h" +#include "buffer.h" typedef enum { RESAMPLE_FORMAT_S16 = 0, @@ -89,8 +89,8 @@ struct _ResampleState { double *out_tmp; }; -void resample_init(void); -void resample_cleanup(void); +void resample_init (void); +void resample_cleanup (void); ResampleState *resample_new (void); void resample_free (ResampleState *state); @@ -98,6 +98,8 @@ void resample_free (ResampleState *state); void resample_add_input_data (ResampleState * r, void *data, int size, ResampleCallback free_func, void *closure); void resample_input_eos (ResampleState *r); + +int resample_get_output_size_for_input (ResampleState * r, int size); int resample_get_output_size (ResampleState *r); int resample_get_output_data (ResampleState *r, void *data, int size); @@ -109,6 +111,5 @@ void resample_set_format (ResampleState *r, ResampleFormat format); void resample_set_method (ResampleState *r, int method); int resample_format_size (ResampleFormat format); - #endif /* __RESAMPLE_H__ */ |