Mercurial > libavcodec.hg
diff avcodec.h @ 2306:072fc321fbe6 libavcodec
make most resample filter parameters selectable at runtime
| author | michael |
|---|---|
| date | Thu, 21 Oct 2004 03:11:34 +0000 |
| parents | 3a8e557a8226 |
| children | de38526a1f3f |
line wrap: on
line diff
--- a/avcodec.h Wed Oct 20 19:06:29 2004 +0000 +++ b/avcodec.h Thu Oct 21 03:11:34 2004 +0000 @@ -17,7 +17,7 @@ #define FFMPEG_VERSION_INT 0x000409 #define FFMPEG_VERSION "0.4.9-pre1" -#define LIBAVCODEC_BUILD 4725 +#define LIBAVCODEC_BUILD 4726 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT #define LIBAVCODEC_VERSION FFMPEG_VERSION @@ -1942,7 +1942,7 @@ int audio_resample(ReSampleContext *s, short *output, short *input, int nb_samples); void audio_resample_close(ReSampleContext *s); -struct AVResampleContext *av_resample_init(int out_rate, int in_rate); +struct AVResampleContext *av_resample_init(int out_rate, int in_rate, int filter_length, int log2_phase_count, int linear); int av_resample(struct AVResampleContext *c, short *dst, short *src, int *consumed, int src_size, int dst_size, int update_ctx); void av_resample_compensate(struct AVResampleContext *c, int sample_delta, int compensation_distance); void av_resample_close(struct AVResampleContext *c);
