<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/linuxaudiodev.c, branch 2.1</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.1</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/linuxaudiodev.c?h=2.1'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-04-02T17:59:02Z</updated>
<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>
<entry>
<title>This module has a poor name, since it can be used under FreeBSD and</title>
<updated>2000-08-31T18:11:07Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-08-31T18:11:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a3895c0d291c795ed9e36fd86118d6679f1d917b'/>
<id>urn:sha1:a3895c0d291c795ed9e36fd86118d6679f1d917b</id>
<content type='text'>
Linux.  Perhaps winaudio would be better, as it would offend both
parties equally.

tg@freebsd.org: allow this module to compile under FreeBSD
(he suggests voxwareaudio)
</content>
</entry>
<entry>
<title>lad_dealloc(): if xp-&gt;x_fd == -1, it means the descriptor's already</title>
<updated>2000-08-18T05:10:45Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2000-08-18T05:10:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4ddd8202bc49c02b34ff2dc662976dbf8aa9eb03'/>
<id>urn:sha1:4ddd8202bc49c02b34ff2dc662976dbf8aa9eb03</id>
<content type='text'>
been closed.  Don't try to reclose it.  Found by Insure.
</content>
</entry>
<entry>
<title>Bunch of minor ANSIfications: 'void initfunc()' -&gt; 'void initfunc(void)',</title>
<updated>2000-07-21T06:00:07Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2000-07-21T06:00:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f3f33dcf03eaed3c4e720178f9d69205a66d6a91'/>
<id>urn:sha1:f3f33dcf03eaed3c4e720178f9d69205a66d6a91</id>
<content type='text'>
and a couple of functions that were missed in the previous batches. Not
terribly tested, but very carefully scrutinized, three times.

All these were found by the little findkrc.py that I posted to python-dev,
which means there might be more lurking. Cases such as this:

long
func(a, b)
	long a;
	long b; /* flagword */
{

and other cases where the last ; in the argument list isn't followed by a
newline and an opening curly bracket. Regexps to catch all are welcome, of
course ;)
</content>
</entry>
</feed>
