<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/ossaudiodev.c, branch 2.3</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/ossaudiodev.c?h=2.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/ossaudiodev.c?h=2.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-05-11T01:33:04Z</updated>
<entry>
<title>SF #832236: wrap a bunch of _EXPORT_INT calls in #ifdef's, to</title>
<updated>2004-05-11T01:33:04Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2004-05-11T01:33:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=57f15afbc0a6117e2e62cee8971014847e6ff32d'/>
<id>urn:sha1:57f15afbc0a6117e2e62cee8971014847e6ff32d</id>
<content type='text'>
avoid breaking the build on MkLinux (Linux 2.0).
</content>
</entry>
<entry>
<title>Whitespace normalization; break a long line.</title>
<updated>2003-06-02T14:15:34Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-06-02T14:15:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0741f801bae87e943e3fe31274daec293a279ae7'/>
<id>urn:sha1:0741f801bae87e943e3fe31274daec293a279ae7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix a subtle decref bug that caused a GC assertion to fail in a debug</title>
<updated>2003-06-02T14:11:45Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-06-02T14:11:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f39dafb10a9c8b5d53c79f60ccf1bec77cc376a3'/>
<id>urn:sha1:f39dafb10a9c8b5d53c79f60ccf1bec77cc376a3</id>
<content type='text'>
build (assert(gc-&gt;gc.gc_refs != 0) in visit_decref()).

Because OSSAudioError is a global, we must compensate (twice!) for
PyModule_AddObject()'s "helpful" decref of the object it adds.
</content>
</entry>
<entry>
<title>Comment fix.</title>
<updated>2003-05-29T23:44:44Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2003-05-29T23:44:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=84f8ecd072f9101cb0de8a0437fd660fa0425760'/>
<id>urn:sha1:84f8ecd072f9101cb0de8a0437fd660fa0425760</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change _ssize() so it doesn't rely on sizeof(char) or sizeof(short):</title>
<updated>2003-05-29T21:55:41Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2003-05-29T21:55:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=38c9266f4203d5d01a0c76f649ff5ba7840afbe1'/>
<id>urn:sha1:38c9266f4203d5d01a0c76f649ff5ba7840afbe1</id>
<content type='text'>
8 bits is 1 byte, and that isn't about to change any time soon.  (I hope!)
</content>
</entry>
<entry>
<title>Completely change the interface to setparameters():</title>
<updated>2003-05-29T21:53:06Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2003-05-29T21:53:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d676906ab7e0bda29da776a7ef384e1f751c3f27'/>
<id>urn:sha1:d676906ab7e0bda29da776a7ef384e1f751c3f27</id>
<content type='text'>
  * it no longer takes ssize, which served no purpose apart from
    scolding you if you got it wrong
  * changed the order of the three remaining required arguments
    to (format, channels, rate) to match the order in which they
    must be set
  * replaced the optional argument 'emulate' with 'strict': if strict
    true, and the audio device does not accept the requested sampling
    parameters, raise OSSAudioError
  * return a tuple (format, channels, rate) reflecting the sampling
    parameters that were actually set

Change the canonical name of ossaudiodev.error to
ossaudiodev.OSSAudioError (keep an alias for backwards compatibility).

Remove 'audio_types' list and 'n_audio_types' (no longer needed now that
setparameters() no longer has an 'ssize' argument to police).
</content>
</entry>
<entry>
<title>Oops, move the GIL release/reacquire from oss_sync() to _do_ioctl_0():</title>
<updated>2003-05-27T01:57:21Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2003-05-27T01:57:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d0d592fd3225daa50a56b84b6e3df61ffe8bfea4'/>
<id>urn:sha1:d0d592fd3225daa50a56b84b6e3df61ffe8bfea4</id>
<content type='text'>
that way it applies to *only* the ioctl() call, and also happens for the
other blocking ioctls (POST, RESET).
</content>
</entry>
<entry>
<title>Release the GIL in two more methods:</title>
<updated>2003-05-26T22:47:30Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2003-05-26T22:47:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b804390ae386a5c8dbd3c107f0f22ab589d3563b'/>
<id>urn:sha1:b804390ae386a5c8dbd3c107f0f22ab589d3563b</id>
<content type='text'>
  * sync(), because it waits for hardware buffers to flush, which
    can take several seconds depending on cirumstances (according
    to the OSS docs)
  * close(), because it does an implicit sync()
</content>
</entry>
<entry>
<title>Release the GIL around read(), write(), and select() calls.</title>
<updated>2003-05-23T01:50:37Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2003-05-23T01:50:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6492785ee521f3d46a07c07e96a7bc3d72b54f38'/>
<id>urn:sha1:6492785ee521f3d46a07c07e96a7bc3d72b54f38</id>
<content type='text'>
Bug spotted by Joerg Lehmann &lt;joerg@luga.de&gt;.
</content>
</entry>
<entry>
<title>Use fcntl() to put the audio device *back* into blocking mode after</title>
<updated>2003-04-04T01:47:42Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2003-04-04T01:47:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=76ffb1918d31bac2b88f1a63e453802248a5dfc0'/>
<id>urn:sha1:76ffb1918d31bac2b88f1a63e453802248a5dfc0</id>
<content type='text'>
opening it in non-blocking mode.  Both Guido and David Hammerton have
reported that this fixes their problems with ossaudiodev -- hooray!
</content>
</entry>
</feed>
