From 372647aed04b89def4e73ae29df0fef60a2f1930 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Sat, 26 May 2012 14:50:02 -0400 Subject: lavr: resampling: add filter type and Kaiser window beta to AVOptions --- libavresample/internal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavresample/internal.h') diff --git a/libavresample/internal.h b/libavresample/internal.h index fa9499a8ef..7b7648f0be 100644 --- a/libavresample/internal.h +++ b/libavresample/internal.h @@ -50,6 +50,8 @@ struct AVAudioResampleContext { int phase_shift; /**< log2 of the number of entries in the resampling polyphase filterbank */ int linear_interp; /**< if 1 then the resampling FIR filter will be linearly interpolated */ double cutoff; /**< resampling cutoff frequency. 1.0 corresponds to half the output sample rate */ + enum AVResampleFilterType filter_type; /**< resampling filter type */ + int kaiser_beta; /**< beta value for Kaiser window (only applicable if filter_type == AV_FILTER_TYPE_KAISER) */ int in_channels; /**< number of input channels */ int out_channels; /**< number of output channels */ -- cgit v1.2.3