mirror of
https://github.com/larsimmisch/pyalsaaudio.git
synced 2026-06-02 11:27:01 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5cbc88607d | |||
| 0fb8b1d9f3 | |||
| 3cb51bdf90 | |||
| 6e96f8556c | |||
| fddd239be1 | |||
| 8950de75bf |
@@ -1,7 +1,9 @@
|
|||||||
*.pyc
|
*.pyc
|
||||||
*.so
|
*.so
|
||||||
|
MANIFEST
|
||||||
doc/gh-pages/
|
doc/gh-pages/
|
||||||
doc/html/
|
doc/html/
|
||||||
doc/doctrees/
|
doc/doctrees/
|
||||||
gh-pages/
|
gh-pages/
|
||||||
build/
|
build/
|
||||||
|
dist/
|
||||||
@@ -1,3 +1,34 @@
|
|||||||
|
Version 0.8.2:
|
||||||
|
- fix #3 (we cannot get the revision from git for pip installs)
|
||||||
|
|
||||||
|
Version 0.8.1:
|
||||||
|
- document changes (this file)
|
||||||
|
|
||||||
|
Version 0.8:
|
||||||
|
- 'PCM()' has new 'device' and 'cardindex' keyword arguments.
|
||||||
|
|
||||||
|
The keyword 'device' allows to select virtual devices, 'cardindex' can be
|
||||||
|
used to select hardware cards by index (as with 'mixers()' and 'Mixer()').
|
||||||
|
|
||||||
|
The 'card' keyword argument is still supported, but deprecated.
|
||||||
|
|
||||||
|
The reason for this change is that the 'card' keyword argument guessed
|
||||||
|
a device name from the card name, but this only works sometimes, and breaks
|
||||||
|
opening virtual devices.
|
||||||
|
|
||||||
|
- new function 'pcms()' to list available PCM devices.
|
||||||
|
|
||||||
|
- mixers() and Mixer() take an additional 'device' keyword argument.
|
||||||
|
This allows to list or open virtual devices.
|
||||||
|
|
||||||
|
- The default behaviour of Mixer() without any arguments has changed.
|
||||||
|
Now Mixer() will try to open the 'default' Mixer instead of the Mixer
|
||||||
|
that is associated with card 0.
|
||||||
|
|
||||||
|
- fix a memory leak under Python 3.x
|
||||||
|
|
||||||
|
- some more memory leaks in error conditions fixed.
|
||||||
|
|
||||||
Version 0.7:
|
Version 0.7:
|
||||||
- fixed several memory leaks (patch 3372909), contributed by Erik Kulyk)
|
- fixed several memory leaks (patch 3372909), contributed by Erik Kulyk)
|
||||||
|
|
||||||
|
|||||||
@@ -5,12 +5,13 @@ For documentation, see http://larsimmisch.github.io/pyalsaaudio/
|
|||||||
> Author: Casper Wilstrup (cwi@aves.dk)
|
> Author: Casper Wilstrup (cwi@aves.dk)
|
||||||
> Maintainer: Lars Immisch (lars@ibp.de)
|
> Maintainer: Lars Immisch (lars@ibp.de)
|
||||||
|
|
||||||
This package contains wrappers for accessing the ALSA api from Python. It
|
This package contains wrappers for accessing the
|
||||||
|
[ALSA](http://www.alsa-project.org/) API from Python. It
|
||||||
is currently fairly complete for PCM devices, and has some support for mixers.
|
is currently fairly complete for PCM devices, and has some support for mixers.
|
||||||
|
|
||||||
If you find bugs in the wrappers please open an issue in the issue tracker.
|
If you find bugs in the wrappers please open an issue in the issue tracker.
|
||||||
Please don't send bug reports regarding ALSA specifically. There are several
|
Please don't send bug reports regarding ALSA specifically. There are several
|
||||||
bugs in this api, and those should be reported to the ALSA team - not
|
bugs in the ALSA API, and those should be reported to the ALSA team - not
|
||||||
me.
|
me.
|
||||||
|
|
||||||
This software is licensed under the PSF license - the same one used
|
This software is licensed under the PSF license - the same one used
|
||||||
|
|||||||
@@ -4,17 +4,11 @@
|
|||||||
It is fairly complete for PCM devices and Mixer access.
|
It is fairly complete for PCM devices and Mixer access.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import subprocess
|
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
from distutils.extension import Extension
|
from distutils.extension import Extension
|
||||||
from sys import version
|
from sys import version
|
||||||
|
|
||||||
def gitrev():
|
pyalsa_version = '0.8.2'
|
||||||
rev = subprocess.check_output(['git', 'describe', '--tags', '--dirty=-dev',
|
|
||||||
'--always'])
|
|
||||||
return rev.decode('utf-8').strip()
|
|
||||||
|
|
||||||
pyalsa_version = gitrev()
|
|
||||||
|
|
||||||
# patch distutils if it's too old to cope with the "classifiers" or
|
# patch distutils if it's too old to cope with the "classifiers" or
|
||||||
# "download_url" keywords
|
# "download_url" keywords
|
||||||
|
|||||||
Reference in New Issue
Block a user