diff options
| author | Georg Brandl <georg@python.org> | 2007-08-15 14:27:07 +0000 | 
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2007-08-15 14:27:07 +0000 | 
| commit | 739c01d47b9118d04e5722333f0e6b4d0c8bdd9e (patch) | |
| tree | f82b450d291927fc1758b96d981aa0610947b529 /Doc/lib/libsndhdr.tex | |
| parent | 2d1649094402ef393ea2b128ba2c08c3937e6b93 (diff) | |
| download | cpython-git-739c01d47b9118d04e5722333f0e6b4d0c8bdd9e.tar.gz | |
Delete the LaTeX doc tree.
Diffstat (limited to 'Doc/lib/libsndhdr.tex')
| -rw-r--r-- | Doc/lib/libsndhdr.tex | 41 | 
1 files changed, 0 insertions, 41 deletions
diff --git a/Doc/lib/libsndhdr.tex b/Doc/lib/libsndhdr.tex deleted file mode 100644 index a7f8c6eaae..0000000000 --- a/Doc/lib/libsndhdr.tex +++ /dev/null @@ -1,41 +0,0 @@ -\section{\module{sndhdr} --- -         Determine type of sound file} - -\declaremodule{standard}{sndhdr} -\modulesynopsis{Determine type of a sound file.} -\sectionauthor{Fred L. Drake, Jr.}{fdrake@acm.org} -% Based on comments in the module source file. - - -The \module{sndhdr} provides utility functions which attempt to -determine the type of sound data which is in a file.  When these -functions are able to determine what type of sound data is stored in a -file, they return a tuple \code{(\var{type}, \var{sampling_rate}, -\var{channels}, \var{frames}, \var{bits_per_sample})}.  The value for -\var{type} indicates the data type and will be one of the strings -\code{'aifc'}, \code{'aiff'}, \code{'au'}, \code{'hcom'}, -\code{'sndr'}, \code{'sndt'}, \code{'voc'}, \code{'wav'}, -\code{'8svx'}, \code{'sb'}, \code{'ub'}, or \code{'ul'}.  The -\var{sampling_rate} will be either the actual value or \code{0} if -unknown or difficult to decode.  Similarly, \var{channels} will be -either the number of channels or \code{0} if it cannot be determined -or if the value is difficult to decode.  The value for \var{frames} -will be either the number of frames or \code{-1}.  The last item in -the tuple, \var{bits_per_sample}, will either be the sample size in -bits or \code{'A'} for A-LAW\index{A-LAW} or \code{'U'} for -u-LAW\index{u-LAW}. - - -\begin{funcdesc}{what}{filename} -  Determines the type of sound data stored in the file \var{filename} -  using \function{whathdr()}.  If it succeeds, returns a tuple as -  described above, otherwise \code{None} is returned. -\end{funcdesc} - - -\begin{funcdesc}{whathdr}{filename} -  Determines the type of sound data stored in a file based on the file  -  header.  The name of the file is given by \var{filename}.  This -  function returns a tuple as described above on success, or -  \code{None}. -\end{funcdesc}  | 
