From c0d9b026f9111498874e3dacc5ae6a459e2dc99c Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Sun, 6 Jul 2014 09:53:51 -0700 Subject: [PATCH] swresample: group all the option constants in a section in doxy Signed-off-by: Timothy Gu Signed-off-by: Michael Niedermayer --- libswresample/swresample.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/libswresample/swresample.h b/libswresample/swresample.h index c62028a229..e99929d585 100644 --- a/libswresample/swresample.h +++ b/libswresample/swresample.h @@ -102,6 +102,13 @@ #define SWR_CH_MAX 32 ///< Maximum number of channels #endif +/** + * @name Option constants + * These constants are used for the @ref avoptions interface for lswr. + * @{ + * + */ + #define SWR_FLAG_RESAMPLE 1 ///< Force resampling even if equal sample rate //TODO use int resample ? //long term TODO can we enable this dynamically? @@ -137,6 +144,10 @@ enum SwrFilterType { SWR_FILTER_TYPE_KAISER, /**< Kaiser Windowed Sinc */ }; +/** + * @} + */ + typedef struct SwrContext SwrContext; /**