mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
For ratecv, document that None should be the initial state argument (when
I was squashing spurious overflows in the implementation, I got hung up on this point).
This commit is contained in:
parent
9028d0a525
commit
c7cb69263d
1 changed files with 2 additions and 1 deletions
|
@ -163,7 +163,8 @@ Convert the frame rate of the input fragment.
|
|||
\var{state} is a tuple containing the state of the converter. The
|
||||
converter returns a tuple \code{(\var{newfragment}, \var{newstate})},
|
||||
and \var{newstate} should be passed to the next call of
|
||||
\function{ratecv()}.
|
||||
\function{ratecv()}. The initial call should pass \code{None}
|
||||
as the state.
|
||||
|
||||
The \var{weightA} and \var{weightB} arguments are parameters for a
|
||||
simple digital filter and default to \code{1} and \code{0} respectively.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue