diff options
author | Guido van Rossum <guido@python.org> | 1997-02-14 15:59:49 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-02-14 15:59:49 (GMT) |
commit | 6fb6f10a9621fb60c8551417b2f03fcd2cdd0419 (patch) | |
tree | c38f811fa38cff4b7bfed32453225ec9d5c521f0 | |
parent | c8504e276496191189a52dc7fbb3740d6d3642c6 (diff) | |
download | cpython-6fb6f10a9621fb60c8551417b2f03fcd2cdd0419.zip cpython-6fb6f10a9621fb60c8551417b2f03fcd2cdd0419.tar.gz cpython-6fb6f10a9621fb60c8551417b2f03fcd2cdd0419.tar.bz2 |
Added doco for ratecv.
-rw-r--r-- | Doc/lib/libaudioop.tex | 11 | ||||
-rw-r--r-- | Doc/libaudioop.tex | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/Doc/lib/libaudioop.tex b/Doc/lib/libaudioop.tex index 6a74a0b..13a82b3 100644 --- a/Doc/lib/libaudioop.tex +++ b/Doc/lib/libaudioop.tex @@ -146,6 +146,17 @@ multiplied by the floating-point value \var{factor}. Overflow is silently ignored. \end{funcdesc} +\begin{funcdesc}{ratecv}{fragment\, width\, nchannels\, inrate\, outrate\, state\optional{\, weightA\, weightB}} +Convert the frame rate of the input fragment. + +\code{State} is a tuple containing the state of the converter. The +converter returns a tupl \code{(\var{newfragment}, \var{newstate})}, +and \var{newstate} should be passed to the next call of ratecv. + +The \code{weightA} and \coden{weightB} arguments are parameters for a +simple digital filter and default to 1 and 0 respectively. +\end{funcdesc} + \begin{funcdesc}{reverse}{fragment\, width} Reverse the samples in a fragment and returns the modified fragment. \end{funcdesc} diff --git a/Doc/libaudioop.tex b/Doc/libaudioop.tex index 6a74a0b..13a82b3 100644 --- a/Doc/libaudioop.tex +++ b/Doc/libaudioop.tex @@ -146,6 +146,17 @@ multiplied by the floating-point value \var{factor}. Overflow is silently ignored. \end{funcdesc} +\begin{funcdesc}{ratecv}{fragment\, width\, nchannels\, inrate\, outrate\, state\optional{\, weightA\, weightB}} +Convert the frame rate of the input fragment. + +\code{State} is a tuple containing the state of the converter. The +converter returns a tupl \code{(\var{newfragment}, \var{newstate})}, +and \var{newstate} should be passed to the next call of ratecv. + +The \code{weightA} and \coden{weightB} arguments are parameters for a +simple digital filter and default to 1 and 0 respectively. +\end{funcdesc} + \begin{funcdesc}{reverse}{fragment\, width} Reverse the samples in a fragment and returns the modified fragment. \end{funcdesc} |