]> granicus.if.org Git - python/commit
SF patch #489989 (Charles G Waldman) linuxaudiodev.c - fix initialization
authorGuido van Rossum <guido@python.org>
Sat, 8 Dec 2001 17:13:45 +0000 (17:13 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 8 Dec 2001 17:13:45 +0000 (17:13 +0000)
commit7745218c051706336e4adab4d33863dde2a38d6c
treecffc027741f30db8a32f792fae6744601fe0ed98
parentb931bf3c55613a58cf403f7e7b04a5c69cfd0763
SF patch #489989 (Charles G Waldman) linuxaudiodev.c - fix initialization

The OSS Programmer's Reference (www.4front-tech.com)
states:

*Setting Sampling Parameters

There are three parameters which affect the sound
quality (and therefore memory and bandwidth
requirements) of sampled audio data. These are:

** sample format (sometimes called number of bits)
** number of channels (mono or stereo), and
** sampling rate (speed)

NOTE:

It is important to always set these parameters in the
above order. Setting sampling rate before the number
of channels doesn't work with all devices.
Modules/linuxaudiodev.c