[Python-checkins] python/dist/src/Doc/lib libossaudiodev.tex,1.2,1.3
gward@users.sourceforge.net
gward@users.sourceforge.net
Sun, 09 Mar 2003 16:24:45 -0800
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv29776
Modified Files:
libossaudiodev.tex
Log Message:
Fix two unformatted lists: one is now an 'enumerate' environment, the
other a 'tableii'.
Formatting/typo fix.
Index: libossaudiodev.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libossaudiodev.tex,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** libossaudiodev.tex 9 Mar 2003 23:57:34 -0000 1.2
--- libossaudiodev.tex 10 Mar 2003 00:24:42 -0000 1.3
***************
*** 59,66 ****
To set up the device, three functions must be called in the correct
sequence:
!
! \code{setfmt} to set the output format,
! \code{channels} to set the number of channels, and
! \code{speed} to set the sample rate.
The audio device objects are returned by \function{open()} define the
--- 59,67 ----
To set up the device, three functions must be called in the correct
sequence:
! \begin{enumerate}
! \item \code{setfmt()} to set the output format,
! \item \code{channels()} to set the number of channels, and
! \item \code{speed()} to set the sample rate.
! \end{enumerate}
The audio device objects are returned by \function{open()} define the
***************
*** 110,129 ****
soundcard. On a typical Linux system, these formats are:
! AFMT_MU_LAW---a logarithmic encoding. This is the default format on
! /dev/audio and is the format used by Sun .au files.
! AFMT_A_LAW---a logarithmic encoding
! AFMT_IMA_ADPCM---a 4:1 compressed format defined by the Interactive
! Multimedia Association.
! AFMT_U8---Unsigned, 8-bit audio.
! AFMT_S16_LE---Unsigned, 16-bit audio, little-endian byte order (as used
! by Intel processors)
! AFMT_S16_BE---Unsigned, 16-bit audio, big-endian byte order (as used by
! 68k, PowerPC, Sparc)
! AFMT_S8---Signed, 8 bit audio.
! AFMT_U16_LE---Signed, 16-bit little-endian audio
! AFMT_U16_BE---Signed, 16-bit big-endian audio
!
Most systems support only a subset of these formats. Many devices only
! support AFTM_U8; the most common format used today is AFMT_S16_LE.
\end{methoddesc}
--- 111,141 ----
soundcard. On a typical Linux system, these formats are:
! \begin{tableii}{l|l}{constant}{Format}{Description}
! \lineii{AFMT_MU_LAW}
! {a logarithmic encoding. This is the default format on
! /dev/audio and is the format used by Sun .au files.}
! \lineii{AFMT_A_LAW}
! {a logarithmic encoding}
! \lineii{AFMT_IMA_ADPCM}
! {a 4:1 compressed format defined by the Interactive Multimedia
! Association.}
! \lineii{AFMT_U8}
! {Unsigned, 8-bit audio.}
! \lineii{AFMT_S16_LE}
! {Unsigned, 16-bit audio, little-endian byte order (as used by
! Intel processors)}
! \lineii{AFMT_S16_BE}
! {Unsigned, 16-bit audio, big-endian byte order (as used by 68k,
! PowerPC, Sparc)}
! \lineii{AFMT_S8}
! {Signed, 8 bit audio.}
! \lineii{AFMT_U16_LE}
! {Signed, 16-bit little-endian audio}
! \lineii{AFMT_U16_BE}
! {Signed, 16-bit big-endian audio}
! \end{tableii}
Most systems support only a subset of these formats. Many devices only
! support \code{AFMT_U8}; the most common format used today is
! \code{AFMT_S16_LE}.
\end{methoddesc}