<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_linuxaudiodev.py, branch v2.2.1</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_linuxaudiodev.py?h=v2.2.1</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_linuxaudiodev.py?h=v2.2.1'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2000-10-08T00:20:20Z</updated>
<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>
