summaryrefslogtreecommitdiff
path: root/libavresample/internal.h
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-05-26 14:50:02 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2012-07-08 15:22:11 -0400
commit372647aed04b89def4e73ae29df0fef60a2f1930 (patch)
tree797a42295e77f7dfb33d5c5454a046713d053a1f /libavresample/internal.h
parent8ca08066fc813c48722e9c5a79fcd58e725cc80f (diff)
lavr: resampling: add filter type and Kaiser window beta to AVOptions
Diffstat (limited to 'libavresample/internal.h')
-rw-r--r--libavresample/internal.h2
1 files changed, 2 insertions, 0 deletions
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 */