Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c7cb692

Browse files
committed
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).
1 parent 9028d0a commit c7cb692

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/lib/libaudioop.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ \section{\module{audioop} ---
163163
\var{state} is a tuple containing the state of the converter. The
164164
converter returns a tuple \code{(\var{newfragment}, \var{newstate})},
165165
and \var{newstate} should be passed to the next call of
166-
\function{ratecv()}.
166+
\function{ratecv()}. The initial call should pass \code{None}
167+
as the state.
167168

168169
The \var{weightA} and \var{weightB} arguments are parameters for a
169170
simple digital filter and default to \code{1} and \code{0} respectively.

0 commit comments

Comments
 (0)