<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_linuxaudiodev.py, branch v2.5.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/Lib/test/test_linuxaudiodev.py?h=v2.5.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_linuxaudiodev.py?h=v2.5.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-01-05T07:16:13Z</updated>
<entry>
<title>If the audio file does not exist, the test should be skipped.  Will backport.</title>
<updated>2006-01-05T07:16:13Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-01-05T07:16:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c6d1f9100f8cb80dec5b1a454d3bdb54f6f76f98'/>
<id>urn:sha1:c6d1f9100f8cb80dec5b1a454d3bdb54f6f76f98</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- The audio driver tests (test_ossaudiodev.py and</title>
<updated>2003-02-14T19:29:22Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-02-14T19:29:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4507ec70cff35468f4b1767382f38ecebd4a29a2'/>
<id>urn:sha1:4507ec70cff35468f4b1767382f38ecebd4a29a2</id>
<content type='text'>
  test_linuxaudiodev.py) are no longer run by default.  This is
  because they don't always work, depending on your hardware and
  software.  To run these tests, you must use an invocation like
    ./python Lib/test/regrtest.py -u audio test_ossaudiodev
</content>
</entry>
<entry>
<title>Get rid of relative imports in all unittests.  Now anything that</title>
<updated>2002-07-23T19:04:11Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2002-07-23T19:04:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=04f357cffef6d764f2f0ff2671dabde75ec250d1'/>
<id>urn:sha1:04f357cffef6d764f2f0ff2671dabde75ec250d1</id>
<content type='text'>
imports e.g. test_support must do so using an absolute package name
such as "import test.test_support" or "from test import test_support".

This also updates the README in Lib/test, and gets rid of the
duplicate data dirctory in Lib/test/data (replaced by
Lib/email/test/data).

Now Tim and Jack can have at it. :)
</content>
</entry>
<entry>
<title>don't fail if the audio device is busy, just skip.</title>
<updated>2002-04-23T02:20:46Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2002-04-23T02:20:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4ce6b351cce6e202568ec499fc0d717d65c0c1d7'/>
<id>urn:sha1:4ce6b351cce6e202568ec499fc0d717d65c0c1d7</id>
<content type='text'>
SF patch 545486
</content>
</entry>
<entry>
<title>It seems our sound cards can't play mulaw data.  Use native-format</title>
<updated>2000-10-08T00:20:20Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-10-08T00:20:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=923ebe4dc6535cbf3ecf264af70a5b49dfb7223a'/>
<id>urn:sha1:923ebe4dc6535cbf3ecf264af70a5b49dfb7223a</id>
<content type='text'>
16-bit signed data instead.  Hope this works for you; it works for me.
</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>Oooopsss.....tab and space mismatch corrected.</title>
<updated>2000-08-04T15:25:58Z</updated>
<author>
<name>Moshe Zadka</name>
<email>moshez@math.huji.ac.il</email>
</author>
<published>2000-08-04T15:25:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=92a69138b3f607384a22e291b4d0af3b1bd1b237'/>
<id>urn:sha1:92a69138b3f607384a22e291b4d0af3b1bd1b237</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Raise TestSkipped, not ImportError.</title>
<updated>2000-08-04T13:26:03Z</updated>
<author>
<name>Moshe Zadka</name>
<email>moshez@math.huji.ac.il</email>
</author>
<published>2000-08-04T13:26:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=040c17fe38f17575d57ef2aecd6d9955d24cb0c6'/>
<id>urn:sha1:040c17fe38f17575d57ef2aecd6d9955d24cb0c6</id>
<content type='text'>
Honesty's the best policy.
</content>
</entry>
<entry>
<title>In case the user isn't allowed to access /dev/dsp or /dev/dsp isn't there</title>
<updated>2000-08-04T12:59:40Z</updated>
<author>
<name>Moshe Zadka</name>
<email>moshez@math.huji.ac.il</email>
</author>
<published>2000-08-04T12:59:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=323a5086ae3ebc4e6290d9bbbe384af5a952a485'/>
<id>urn:sha1:323a5086ae3ebc4e6290d9bbbe384af5a952a485</id>
<content type='text'>
at all (my computer doesn't have a Sound Blaster), this doesn't mean
there's a bug in linuxaudiodev. The only error the test suite skips
is currently ImportError -- so that's what we raise. If you see a problem
with this patch, say so and I'll retract. If you think raising an ImportError
sucks, you're right -- but I ain't gonna buy a SB and I sure ain't gonna
let the test-suite fail on my machine.
</content>
</entry>
<entry>
<title>Added test for linnuxaudiodev module; directly adapted from sunaudiodev</title>
<updated>2000-06-10T04:22:57Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2000-06-10T04:22:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1f2d4640b874940cae74c2b1549a6a1106e2a058'/>
<id>urn:sha1:1f2d4640b874940cae74c2b1549a6a1106e2a058</id>
<content type='text'>
test.  Someone with more Linux audio knowledge should at least take a
brief look at it.
</content>
</entry>
</feed>
