- Avoid internal re-opening of PCM objects when parameters change.
- PCM objects can be opened by card id
- Mixer objects can be openend by card index
(this is not consistent, but ALSA works this way)
- Adjusted and cleaned up documentation.
git-svn-id: svn://svn.code.sf.net/p/pyalsaaudio/code/trunk@26 ec2f30ec-7544-0410-870e-f70ca00c83f0
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
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
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
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
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
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
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