Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
05584f52
Commit
05584f52
authored
Feb 14, 1997
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added doco for ratecv.
parent
2c0a2c33
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
Doc/lib/libaudioop.tex
Doc/lib/libaudioop.tex
+11
-0
Doc/libaudioop.tex
Doc/libaudioop.tex
+11
-0
No files found.
Doc/lib/libaudioop.tex
View file @
05584f52
...
...
@@ -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}
...
...
Doc/libaudioop.tex
View file @
05584f52
...
...
@@ -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}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment