Browse code

swr: document how flushing works and bump minor version.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2011/11/05 00:34:39
Showing 1 changed files
... ...
@@ -25,7 +25,7 @@
25 25
 #include "libavutil/samplefmt.h"
26 26
 
27 27
 #define LIBSWRESAMPLE_VERSION_MAJOR 0
28
-#define LIBSWRESAMPLE_VERSION_MINOR 0
28
+#define LIBSWRESAMPLE_VERSION_MINOR 1
29 29
 #define LIBSWRESAMPLE_VERSION_MICRO 0
30 30
 
31 31
 #define SWR_CH_MAX 16
... ...
@@ -67,6 +67,8 @@ void swr_free(struct SwrContext **s);
67 67
 
68 68
 /**
69 69
  * Convert audio.
70
+ *
71
+ * in & in_count can be set to 0 to flush the last few samples out at the end.
70 72
  * @param  in_count Number of input samples available in one channel.
71 73
  * @param out_count Amount of space available for output in samples per channel.
72 74
  * @return number of samples output per channel