mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Added doco for ratecv.
This commit is contained in:
parent
c8504e2764
commit
6fb6f10a96
2 changed files with 22 additions and 0 deletions
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue