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
b666c15c
Commit
b666c15c
authored
Feb 13, 1998
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Normalization of markup.
parent
6e99adb1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
22 deletions
+22
-22
Doc/lib/libaifc.tex
Doc/lib/libaifc.tex
+11
-11
Doc/libaifc.tex
Doc/libaifc.tex
+11
-11
No files found.
Doc/lib/libaifc.tex
View file @
b666c15c
...
...
@@ -113,19 +113,19 @@ writing have all the above methods, except for \code{readframes} and
\code
{
setpos
}
. In addition the following methods exist. The
\code
{
get
}
methods can only be called after the corresponding
\code
{
set
}
methods have been called. Before the first
\code
{
writeframes
}
or
\code
{
writeframesraw
}
, all parameters except for
the number of frames must be filled in.
\code
{
writeframes
()
}
or
\code
{
writeframesraw()
}
, all parameters except
for
the number of frames must be filled in.
\begin{funcdesc}
{
aiff
}{}
Create an AIFF file. The default is that an AIFF-C file is created,
unless the name of the file ends in
'.aiff' in which case the default
is an AIFF file.
unless the name of the file ends in
\code
{
'.aiff'
}
in which case the
default
is an AIFF file.
\end{funcdesc}
\begin{funcdesc}
{
aifc
}{}
Create an AIFF-C file. The default is that an AIFF-C file is created,
unless the name of the file ends in
'.aiff' in which case the default
is an AIFF file.
unless the name of the file ends in
\code
{
'.aiff'
}
in which case the
default
is an AIFF file.
\end{funcdesc}
\begin{funcdesc}
{
setnchannels
}{
nchannels
}
...
...
@@ -158,19 +158,19 @@ NONE, ULAW, ALAW, G722.
\begin{funcdesc}
{
setparams
}{
nchannels
\,
sampwidth
\,
framerate
\,
comptype
\,
compname
}
Set all the above parameters at once. The argument is a tuple
consisting of the various parameters. This means that it is possible
to use the result of a
\code
{
getparams
}
call as argument to
\code
{
setparams
}
.
to use the result of a
\code
{
getparams
()
}
call as argument to
\code
{
setparams
()
}
.
\end{funcdesc}
\begin{funcdesc}
{
setmark
}{
id
\,
pos
\,
name
}
Add a mark with the given id (larger than 0), and the given name at
the given position. This method can be called at any time before
\code
{
close
}
.
\code
{
close
()
}
.
\end{funcdesc}
\begin{funcdesc}
{
tell
}{}
Return the current write position in the output file. Useful in
combination with
\code
{
setmark
}
.
combination with
\code
{
setmark
()
}
.
\end{funcdesc}
\begin{funcdesc}
{
writeframes
}{
data
}
...
...
@@ -179,7 +179,7 @@ the audio file parameters have been set.
\end{funcdesc}
\begin{funcdesc}
{
writeframesraw
}{
data
}
Like
\code
{
writeframes
}
, except that the header of the audio file is
Like
\code
{
writeframes
()
}
, except that the header of the audio file is
not updated.
\end{funcdesc}
...
...
Doc/libaifc.tex
View file @
b666c15c
...
...
@@ -113,19 +113,19 @@ writing have all the above methods, except for \code{readframes} and
\code
{
setpos
}
. In addition the following methods exist. The
\code
{
get
}
methods can only be called after the corresponding
\code
{
set
}
methods have been called. Before the first
\code
{
writeframes
}
or
\code
{
writeframesraw
}
, all parameters except for
the number of frames must be filled in.
\code
{
writeframes
()
}
or
\code
{
writeframesraw()
}
, all parameters except
for
the number of frames must be filled in.
\begin{funcdesc}
{
aiff
}{}
Create an AIFF file. The default is that an AIFF-C file is created,
unless the name of the file ends in
'.aiff' in which case the default
is an AIFF file.
unless the name of the file ends in
\code
{
'.aiff'
}
in which case the
default
is an AIFF file.
\end{funcdesc}
\begin{funcdesc}
{
aifc
}{}
Create an AIFF-C file. The default is that an AIFF-C file is created,
unless the name of the file ends in
'.aiff' in which case the default
is an AIFF file.
unless the name of the file ends in
\code
{
'.aiff'
}
in which case the
default
is an AIFF file.
\end{funcdesc}
\begin{funcdesc}
{
setnchannels
}{
nchannels
}
...
...
@@ -158,19 +158,19 @@ NONE, ULAW, ALAW, G722.
\begin{funcdesc}
{
setparams
}{
nchannels
\,
sampwidth
\,
framerate
\,
comptype
\,
compname
}
Set all the above parameters at once. The argument is a tuple
consisting of the various parameters. This means that it is possible
to use the result of a
\code
{
getparams
}
call as argument to
\code
{
setparams
}
.
to use the result of a
\code
{
getparams
()
}
call as argument to
\code
{
setparams
()
}
.
\end{funcdesc}
\begin{funcdesc}
{
setmark
}{
id
\,
pos
\,
name
}
Add a mark with the given id (larger than 0), and the given name at
the given position. This method can be called at any time before
\code
{
close
}
.
\code
{
close
()
}
.
\end{funcdesc}
\begin{funcdesc}
{
tell
}{}
Return the current write position in the output file. Useful in
combination with
\code
{
setmark
}
.
combination with
\code
{
setmark
()
}
.
\end{funcdesc}
\begin{funcdesc}
{
writeframes
}{
data
}
...
...
@@ -179,7 +179,7 @@ the audio file parameters have been set.
\end{funcdesc}
\begin{funcdesc}
{
writeframesraw
}{
data
}
Like
\code
{
writeframes
}
, except that the header of the audio file is
Like
\code
{
writeframes
()
}
, except that the header of the audio file is
not updated.
\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