summaryrefslogtreecommitdiff
path: root/libswresample/swresample.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-11-04 16:34:39 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-11-04 16:34:39 +0100
commit5cd1580ff8395db6ecce672951f7e42286f576da (patch)
tree47ddb62ac99ae8e68c29aa36ce987020262c1ab6 /libswresample/swresample.h
parent813b20a39f27522a9d6f2068d36b9ae40ce458a5 (diff)
swr: document how flushing works and bump minor version.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/swresample.h')
-rw-r--r--libswresample/swresample.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libswresample/swresample.h b/libswresample/swresample.h
index 05c4f6dc01..d6aca219fe 100644
--- a/libswresample/swresample.h
+++ b/libswresample/swresample.h
@@ -25,7 +25,7 @@
#include "libavutil/samplefmt.h"
#define LIBSWRESAMPLE_VERSION_MAJOR 0
-#define LIBSWRESAMPLE_VERSION_MINOR 0
+#define LIBSWRESAMPLE_VERSION_MINOR 1
#define LIBSWRESAMPLE_VERSION_MICRO 0
#define SWR_CH_MAX 16
@@ -67,6 +67,8 @@ void swr_free(struct SwrContext **s);
/**
* Convert audio.
+ *
+ * in & in_count can be set to 0 to flush the last few samples out at the end.
* @param in_count Number of input samples available in one channel.
* @param out_count Amount of space available for output in samples per channel.
* @return number of samples output per channel