1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

swr-doxy: elaborate on swr_get_delay() and the timebase

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-11-20 20:05:08 +01:00
parent 7cca237ddd
commit 156a75a459

View File

@ -256,6 +256,10 @@ int swr_inject_silence(struct SwrContext *s, int count);
* Swresample can buffer data if more input has been provided than available * Swresample can buffer data if more input has been provided than available
* output space, also converting between sample rates needs a delay. * output space, also converting between sample rates needs a delay.
* This function returns the sum of all such delays. * This function returns the sum of all such delays.
* The exact delay is not neccessarily an integer value in either input or
* output sample rate. Especially when downsampling by a large value, the
* output sample rate may be a poor choice to represent the delay, similarly
* for upsampling and the input sample rate.
* *
* @param s swr context * @param s swr context
* @param base timebase in which the returned delay will be * @param base timebase in which the returned delay will be