<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/linuxaudiodev.c, branch 2.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/linuxaudiodev.c?h=2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/linuxaudiodev.c?h=2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2002-01-12T11:13:24Z</updated>
<entry>
<title>Include &lt;unistd.h&gt; in Python.h. Fixes #500924.</title>
<updated>2002-01-12T11:13:24Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-01-12T11:13:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0d21e644096c700d9cf87038e736dd5ae0f738af'/>
<id>urn:sha1:0d21e644096c700d9cf87038e736dd5ae0f738af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch supplied by Burton Radons for his own SF bug #487390: Modifying</title>
<updated>2001-12-08T18:02:58Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-12-08T18:02:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=146483964e2e94b0d1709be438a1b86f75b5d730'/>
<id>urn:sha1:146483964e2e94b0d1709be438a1b86f75b5d730</id>
<content type='text'>
type.__module__ behavior.

This adds the module name and a dot in front of the type name in every
type object initializer, except for built-in types (and those that
already had this).  Note that it touches lots of Mac modules -- I have
no way to test these but the changes look right.  Apologies if they're
not.  This also touches the weakref docs, which contains a sample type
object initializer.  It also touches the mmap test output, because the
mmap type's repr is included in that output.  It touches object.h to
put the correct description in a comment.
</content>
</entry>
<entry>
<title>SF patch #489989 (Charles G Waldman) linuxaudiodev.c - fix initialization</title>
<updated>2001-12-08T17:13:45Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-12-08T17:13:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7745218c051706336e4adab4d33863dde2a38d6c'/>
<id>urn:sha1:7745218c051706336e4adab4d33863dde2a38d6c</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Applying SF patch #412553 by Christopher Lee: fix linuxaudiodev</title>
<updated>2001-04-02T17:59:02Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-04-02T17:59:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f5bd6843377a4f4433700282f5c4bddb3d6333ae'/>
<id>urn:sha1:f5bd6843377a4f4433700282f5c4bddb3d6333ae</id>
<content type='text'>
handling of EAGAIN.

This may or may not fix the problem for me (Mandrake 7.2 on a Dell
Optiplex GX110 desktop): I can't hear the output, but it does pass the
test now.  It doesn't fix the problem for Fred (Mandrake 7.2 on a Dell
Inspiron 7500 which has the Maestro sound drivers).  Fred suspects
that it's the kernel version in combination with the driver.
</content>
</entry>
<entry>
<title>Restore lost AFMT_S16_NE entry.</title>
<updated>2001-01-17T19:31:29Z</updated>
<author>
<name>Ka-Ping Yee</name>
<email>ping@zesty.ca</email>
</author>
<published>2001-01-17T19:31:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7dfe6e3264cb81e3b0b7801042ef9a3cdfa9b25e'/>
<id>urn:sha1:7dfe6e3264cb81e3b0b7801042ef9a3cdfa9b25e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>better format names and error messages</title>
<updated>2001-01-15T22:21:39Z</updated>
<author>
<name>Ka-Ping Yee</name>
<email>ping@zesty.ca</email>
</author>
<published>2001-01-15T22:21:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=27ac0d1ff538f2ed135024f8005e084d6d88d661'/>
<id>urn:sha1:27ac0d1ff538f2ed135024f8005e084d6d88d661</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Be consistent in the description of audio formats: &lt;format&gt; &lt;width&gt;</title>
<updated>2000-10-08T19:47:47Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-10-08T19:47:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=59316671e3748a03c1fe468f15cfcb66872827ac'/>
<id>urn:sha1:59316671e3748a03c1fe468f15cfcb66872827ac</id>
<content type='text'>
"audio".

Also add AFMT_S16_NE ("native-endian").  (Somehow there's no AFMT_U16_NE.)
</content>
</entry>
<entry>
<title>test_linuxaudio:</title>
<updated>2000-10-06T19:39:55Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-10-06T19:39:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e2b7c4dea38568ac7fa1576167fb1b32bf9cdf3f'/>
<id>urn:sha1:e2b7c4dea38568ac7fa1576167fb1b32bf9cdf3f</id>
<content type='text'>
    read the header from the .au file and do a sanity check
    pass only the data to the audio device
    call flush() so that program does not exit until playback is complete
    call all the other methods to verify that they work minimally
    call setparameters with a bunch of bugs arguments

linuxaudiodev.c:
    use explicit O_WRONLY and O_RDONLY instead of 1 and 0
    add a string name to each of the entries in audio_types[]
    add AFMT_A_LAW to the list of known formats
    add x_mode attribute to lad object, stores imode from open call
    test ioctl return value as == -1, not &lt; 0
    in read() method, resize string before return
    add getptr() method, that calls does ioctl on GETIPTR or GETOPTR
        depending on x_mode
    in setparameters() method, do better error checking and raise
        ValueErrors; also use ioctl calls recommended by Open Sound
        System Programmer's Guido (www.opensound.com)
    use PyModule_AddXXX to define names in module
</content>
</entry>
<entry>
<title>Move the Py_DECREF(x) after the error: label so that we don't leak x</title>
<updated>2000-09-01T15:35:12Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-09-01T15:35:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7c55404207378e662b88253f004041e1a4494f01'/>
<id>urn:sha1:7c55404207378e662b88253f004041e1a4494f01</id>
<content type='text'>
when PyDict_SetItemString() fails.
</content>
</entry>
<entry>
<title>Do the absolute minimal amount of modifications to eradicate</title>
<updated>2000-09-01T09:01:32Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2000-09-01T09:01:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9bfd2bf5ede8e5d58775180d6867d81ddcdd3594'/>
<id>urn:sha1:9bfd2bf5ede8e5d58775180d6867d81ddcdd3594</id>
<content type='text'>
Py_FatalError() from module initialization functions.  The importing
mechanism already checks for PyErr_Occurred() after module importation
and it Does The Right Thing.

Unfortunately, the following either were not compiled or tested by the
regression suite, due to issues with my development platform:

	almodule.c
	cdmodule.c
	mpzmodule.c
	puremodule.c
	timingmodule.c
</content>
</entry>
</feed>
