Commit Graph

25 Commits

Author SHA1 Message Date
larsimmisch
5c2a006553 Ported to Python3.0
Converted documentation to Sphinx.

Added playwav.py



git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@25 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-11-25 20:12:56 +00:00
larsimmisch
7fa6f1c85c Some preparations for porting to py3k.
git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@24 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-10-27 18:55:35 +00:00
larsimmisch
df89c12581 Decided that getenum should return the selected item and the available
items.

Argument parsing errors are reported with the methodname (minor 
improvement).

Smallish documentation improvements.


git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@23 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-05-21 14:06:26 +00:00
larsimmisch
40c4386803 PyObject_GenericGetAttr is not used in Python versions < 2.2, so we
should be as backwards compatible as release 0.3 was, but we do have 
nicer docstrings in later versions of Python.

setup.py is an executable.


git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@22 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-28 23:13:41 +00:00
larsimmisch
387983c9af Casper is fine with having his email address displayed.
Minor documentation fixes.


git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@21 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-28 15:14:42 +00:00
larsimmisch
6fdbd9a2e5 Imported inline documentation for use with the builtin help function.
To make this work better, I have removed tp_getattr in favor of tp_getattro 
and tp_methods.

This method has much better support for inline help, but relies on 
PyObject_GenericGetAttr.

From trawling through the python branches, it looks as if 
PyObject_GenericGetAttr was introduced in Python 2.2.

I think it is an acceptable to trade better inline documentation with no
support for versions earlier than 2.2.

(I *could* do both, but my time is finite).



git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@20 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-25 13:42:39 +00:00
larsimmisch
169612637f svn:ignore set to:
MANIFEST 
build
dist


git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@19 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-24 15:04:15 +00:00
larsimmisch
d6fd8748f1 test.py (not very useful) and MANIFEST.in were forgotten.
git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@18 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-24 15:01:25 +00:00
larsimmisch
5df4378f52 Reindented for Emacs/auctex.
Debian/Ubuntu note.


git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@17 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-24 14:49:28 +00:00
larsimmisch
71e8bf1b1e Ignored files generated by latex2html.
git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@16 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-24 14:05:41 +00:00
larsimmisch
ba03ad3c75 Added Freddy Spierenburgs patch for alsamixer_getrange and alsamixer_getenum.
git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@15 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-24 13:36:56 +00:00
larsimmisch
2cf24ef81b Updates for release 0.3:
setup.py was extended for pypi.

doc/index.html is automatically rewritten by doc/src/Makefile to add 
SourceForge links. index.html is now the standard homepage for pyalsaaudio.

Minor documentation fixes (capitalisation, spelling, etc.). Caspers email is 
hidden in the documentation.


git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@14 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-24 12:30:46 +00:00
larsimmisch
fa12a62e57 Support for multithreading: release the GIL around blocking operations.
git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@13 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-24 12:26:01 +00:00
larsimmisch
8fa9d27a88 Import from divmod. Added css. Original log message:
r1585 | casper | 2005-07-09 23:26:15 +0200 (Sat, 09 Jul 2005) | 3 lines

Last checkin before version 0.2





git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@12 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-24 12:22:41 +00:00
larsimmisch
470d6140df Import from divmod. Original log message:
r1322 | casper | 2005-03-30 22:44:55 +0200 (Wed, 30 Mar 2005) | 2 lines

Fixed return values for set* functions



git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@11 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-24 11:31:57 +00:00
larsimmisch
8bb39b0ff4 Import from divmod. Original log message:
r1316 | anthony | 2005-03-30 18:46:21 +0200 (Wed, 30 Mar 2005) | 1 line

setchannels() no longer is insane for only-stereo devices



git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@10 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-24 11:31:07 +00:00
larsimmisch
03325b1561 Import from divmod. Original log message:
r1274 | casper | 2005-03-26 00:37:10 +0100 (Sat, 26 Mar 2005) | 2 lines

Module documentation



git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@9 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-24 11:29:25 +00:00
larsimmisch
1c9229226c Import from divmod. Original log message:
r1269 | anthony | 2005-03-17 07:18:47 +0100 (Thu, 17 Mar 2005) | 1 line

make write() return the number of bytes actually written



git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@8 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-24 11:25:47 +00:00
larsimmisch
a0f5bc1548 Import from divmod. Original log message:
r836 | casper | 2004-10-05 23:46:29 +0200 (Tue, 05 Oct 2004) | 1 line

Updated TODO



git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@7 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-24 11:25:09 +00:00
larsimmisch
511deb2e16 Import from divmod; forgot to add mixtertest.py. Original log message:
r835 | casper | 2004-10-05 23:43:58 +0200 (Tue, 05 Oct 2004) | 1 line

Added mixer example script. A few mixer fixes as well



git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@6 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-24 11:24:31 +00:00
larsimmisch
0acbf9b345 Import from divmod. Original log message:
r835 | casper | 2004-10-05 23:43:58 +0200 (Tue, 05 Oct 2004) | 1 line

Added mixer example script. A few mixer fixes as well



git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@5 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-24 11:23:22 +00:00
larsimmisch
dc68788ebf Import from divmod. Original log message:
r833 | casper | 2004-10-05 21:43:58 +0200 (Tue, 05 Oct 2004) | 1 line

Completed mixer read/write support. Docs to follow



git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@4 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-24 11:22:37 +00:00
larsimmisch
ef3e9671f0 Import from divmod. Original log message:
r830 | casper | 2004-10-05 13:17:05 +0200 (Tue, 05 Oct 2004) | 1 line





git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@3 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-24 11:21:41 +00:00
larsimmisch
47795bcc72 Import from divmod. Original log message:
r820 | anthony | 2004-10-04 15:28:33 +0200 (Mon, 04 Oct 2004) | 2 lines

Import of PyAlsaAudio, by Casper Wilstrup (cwi@unispeed.dk)



git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@2 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-24 11:20:35 +00:00
larsimmisch
335500fc1d Initial structure.
git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@1 ec2f30ec-7544-0410-870e-f70ca00c83f0
2008-01-24 11:16:32 +00:00