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

Skip to content

Commit 6fb6f10

Browse files
committed
Added doco for ratecv.
1 parent c8504e2 commit 6fb6f10

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

Doc/lib/libaudioop.tex

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,17 @@ \section{Built-in Module \sectcode{audioop}}
146146
silently ignored.
147147
\end{funcdesc}
148148

149+
\begin{funcdesc}{ratecv}{fragment\, width\, nchannels\, inrate\, outrate\, state\optional{\, weightA\, weightB}}
150+
Convert the frame rate of the input fragment.
151+
152+
\code{State} is a tuple containing the state of the converter. The
153+
converter returns a tupl \code{(\var{newfragment}, \var{newstate})},
154+
and \var{newstate} should be passed to the next call of ratecv.
155+
156+
The \code{weightA} and \coden{weightB} arguments are parameters for a
157+
simple digital filter and default to 1 and 0 respectively.
158+
\end{funcdesc}
159+
149160
\begin{funcdesc}{reverse}{fragment\, width}
150161
Reverse the samples in a fragment and returns the modified fragment.
151162
\end{funcdesc}

Doc/libaudioop.tex

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,17 @@ \section{Built-in Module \sectcode{audioop}}
146146
silently ignored.
147147
\end{funcdesc}
148148

149+
\begin{funcdesc}{ratecv}{fragment\, width\, nchannels\, inrate\, outrate\, state\optional{\, weightA\, weightB}}
150+
Convert the frame rate of the input fragment.
151+
152+
\code{State} is a tuple containing the state of the converter. The
153+
converter returns a tupl \code{(\var{newfragment}, \var{newstate})},
154+
and \var{newstate} should be passed to the next call of ratecv.
155+
156+
The \code{weightA} and \coden{weightB} arguments are parameters for a
157+
simple digital filter and default to 1 and 0 respectively.
158+
\end{funcdesc}
159+
149160
\begin{funcdesc}{reverse}{fragment\, width}
150161
Reverse the samples in a fragment and returns the modified fragment.
151162
\end{funcdesc}

0 commit comments

Comments
 (0)