Kaydet (Commit) c7cb6926 authored tarafından Tim Peters's avatar Tim Peters

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).
üst 9028d0a5
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment