Commit Graph

91 Commits

Author SHA1 Message Date
Lars Immisch
02cf16d10d Improve documentation 2017-02-25 01:32:54 +01:00
Lars Immisch
94ced0517e Correct the sine example (finally!) Closes #10 2017-02-25 01:04:18 +01:00
Lars Immisch
698e6044d3 Bump version number 0.8.4 2017-02-24 20:57:53 +01:00
Lars Immisch
2c95f4ff6b Larger periodsize.
Before, it wasn't playing properly on my Raspberry Pi + Hifiberry DAC
2017-02-24 20:54:49 +01:00
Lars Immisch
f19d139f64 Fix C-API usage for Python 3. Closes #29 2017-02-24 13:25:36 +01:00
Lars Immisch
dc51fa75b5 Make tests more robust, use devices or card indices. 0.8.3 2017-02-22 23:55:17 +01:00
Lars Immisch
85ff47ad43 Update to setuptools + version bump 2017-02-22 22:59:37 +01:00
Lars Immisch
88f38284bb Update documentation. Closes #18
Make sure no other setup.py from `sys.path` is accidentally loaded
2017-02-22 19:41:57 +01:00
Lars Immisch
fe7561beea Merge branch 'chrisdiamand-master' #27 2017-02-22 18:31:17 +01:00
Chris Diamand
2314aaeb7e Add functions for listing cards and their names
The cards() method does not guarantee that the index in its return
value is the same as the actual card index. Provide a way to get this
information in the form of a card_indexes() function, returning a
list of available card indexes.

Add another method, card_name(), which, given a card index, returns
the short and long names of that card.
2017-02-08 21:48:49 +00:00
Chris Diamand
bf24ec65ca Add a method for setting enums
Add a method, setenum(), for setting the value of an enumerated mixer
element. The argument is an integer index into the list of possible
values returned by getenum().
2017-02-08 20:50:23 +00:00
Lars Immisch
478d0559e6 Merge pull request #21 from PaulSD/master
Add Mixer.handleevents() to acknowledge events identified by select.poll
2016-11-01 15:52:53 +01:00
Paul Donohue
891a30eb08 Add Mixer.handleevents() to acknowledge events identified by select.poll 2016-10-21 12:21:14 -04:00
Lars Immisch
74d9e7d6e1 Merge pull request #11 from lintweaker/master
Add DSD sample formats
2015-09-25 15:30:20 +02:00
Jurgen Kramer
fa10bf6999 Make DSD support depend on ALSA lib version
This patch makes ALSA DSD sample format support depend on the ALSA lib version.
2015-09-25 15:07:49 +02:00
Jurgen Kramer
7de446c3c7 Add DSD sample formats
This patch adds support for using the ALSA DSD sample formats avaiable in
recents kernel/ALSA versions.
2015-09-25 13:34:10 +02:00
Lars Immisch
5cbc88607d We can get the version from git for pip installs. Fixes #3
Maybe we should tag from setup.py instead
0.8.2
2015-05-16 13:44:50 +02:00
Lars Immisch
0fb8b1d9f3 Prepare 0.8.1 0.8.1 2015-05-14 13:28:14 +02:00
Lars Immisch
3cb51bdf90 Correct capitalization 2015-05-14 01:42:13 +02:00
Lars Immisch
6e96f8556c Inclide MANIFEST/dist/ 2015-05-14 01:38:44 +02:00
Lars Immisch
fddd239be1 Add link 2015-05-14 01:37:51 +02:00
Lars Immisch
8950de75bf Document 0.8 changes 2015-05-14 01:32:42 +02:00
Lars Immisch
8d932eb444 Simplify 0.8 2015-05-14 01:05:39 +02:00
Lars Immisch
9e59862701 Grr. typo. 2015-05-14 01:03:25 +02:00
Lars Immisch
74318d1601 ALSA kernel first. 2015-05-14 01:02:37 +02:00
Lars Immisch
bd458cb5ac Fix typo 2015-05-14 01:01:10 +02:00
Lars Immisch
4d1cb4b3af Better install steps, more links to example programs 2015-05-14 00:59:56 +02:00
Lars Immisch
8daa39deae Minor improvements 2015-05-14 00:02:14 +02:00
Lars Immisch
88e04d65f8 Update .gitignore 2015-05-13 23:48:23 +02:00
Lars Immisch
4c00e7371b Updated README. 2015-05-13 23:46:04 +02:00
Lars Immisch
0e84b51a08 device=None is an error 2015-05-12 09:34:10 +02:00
Lars Immisch
8de9c92791 Undo the argument name/order incompatibility
(Most of it, anyway - the mixers functions have slightly different
defaults now)

Improve the documentation
2015-05-12 09:24:11 +02:00
Lars Immisch
2112840b4d Improve Readme 2015-05-11 22:18:19 +02:00
Lars Immisch
526bd05eaf Take version from git tag 2015-05-11 22:13:02 +02:00
Lars Immisch
a83979a71e Fix get_pcmtype for Python2.7 2015-05-11 08:18:40 +00:00
Lars Immisch
750140c278 Fix compatibility with Python 2.7 2015-05-10 01:02:10 +00:00
Lars Immisch
d28b117c22 Whitespace 2015-05-10 02:22:24 +02:00
Lars Immisch
ed5ecccc97 Fix logic error, whitespace 2015-05-10 02:21:44 +02:00
Lars Immisch
369b202e04 Unify handling of pcmtype/direction 2015-05-10 02:07:15 +02:00
Lars Immisch
3e5f3bd14b Improve error messages 2015-05-10 00:22:40 +02:00
Lars Immisch
cb6fc6231c Add pcms function, unify arguments.
Also, fix some memory leaks in error cases
2015-05-09 21:39:00 +02:00
Lars Immisch
7e2e99d072 Better (but not 100% backward compatible) device selection for mixers/PCM 2015-05-09 05:52:50 +00:00
Lars Immisch
5e8a08bc26 Fix memory leak on Python 3. Closes #2 2015-05-08 13:27:30 +02:00
Lars Immisch
7b9d9828e6 Move towards python 3 2015-05-08 13:27:30 +02:00
Lars Immisch
08b80110b0 Fix channel selection error. Closes #1 2015-05-04 21:18:46 +00:00
Lars Immisch
9188071945 Allow card index or device name for mixers.
This change breaks API compatibility. Sorry.
2015-05-04 21:13:15 +00:00
Lars Immisch
00cb3e0a3a Improve README 2015-04-30 22:43:22 +00:00
Lars Immisch
e06fcc2e67 Formatting 2015-04-30 17:58:34 +00:00
Lars Immisch
554a68562f Stylistic changes 2015-04-30 17:57:45 +00:00
Lars Immisch
bee66b741e Fix .gitignore and documentation 2015-04-30 17:48:56 +00:00