------------------------------------------------------------------- Tue Feb 18 09:43:18 UTC 2025 - John Paul Adrian Glaubitz - Update to 0.11.0 * Fixed `Mixer.getvolume()` returning outdated value * Fixed PCM crashing with some sample formats due to buffer size miscalculation * Fixed `PCM.read()` ignoring overruns (regression in 0.10.0) * Reverted to `PCM.write()` not throwing an exception on playback buffer underrun; instead, return -EPIPE like `PCM.read()` does on overrun * Added `PCM.avail()` and `PCM.polldescriptors_revents()` functions * Added `nominal_bits` and `physical_bits` entries to `PCM.info()`'s return value * Added Python type hint file, and adjusted documentation accordingly * Improvements to the examples, in particular isine.py - Ignore PollDescriptorArgsTest when running testsuite - Limit Python files matched in %files section - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install - Switch package to modern Python Stack on SLE-15 * Use Python 3.11 on SLE-15 by default * Drop support for older Python versions ------------------------------------------------------------------- Thu May 4 21:30:05 UTC 2023 - Dirk Müller - update to 0.10.0: * support for periods in the PCM constructor. * new functions PCM.state(), PCM.drop() and PCM.drain() * improved underrun/overrun handling * documentation improvements/consolidation * more sampling rates * bug fixes ------------------------------------------------------------------- Tue Oct 4 23:53:05 UTC 2022 - Yogalakshmi Arunachalam - Update to version 0.9.2 Fix alsamixer_getvolume (#112 from @stephensp) ------------------------------------------------------------------- Wed May 4 06:12:13 UTC 2022 - Steve Kowalik - Update to 0.9.1: * Support decibel, percentage, and raw volumes in getvolume, setvolume, and getrange (#109 from @chrisdiamand): - Use pytest for running the testsuite, and skip tests that require a sound card. Remove the bcond so the testsuite runs. - Update docs shipped to be more documentation-like. ------------------------------------------------------------------- Sat Mar 26 18:44:58 UTC 2022 - Dirk Müller - update to 0.9.0: * 'getformats()' returns a dictionary of name / value pairs, one for each of the card's supported formats - e.g. '{"U8": 1, "S16_LE": 2}', * 'getchannels()' returns a list of the supported channel numbers, e.g. '[1, 2]', * 'getrates()' returns supported sample rates for the device, e.g. '[48000]', * 'getratebounds()' returns the device's official minimum and maximum supported sample rates as a tuple, e.g. '(4000, 48000)'. * Prevent hang on close after capturing audio * Return an empty string/bytestring when 'read()' detects an overrun. Previously the returned data was undefined * Unlimited setperiod buffer size when reading frames ------------------------------------------------------------------- Wed Oct 18 16:45:30 UTC 2017 - toddrme2178@gmail.com - Implement single-spec version - Update to version 0.8.4 * See changelog at https://github.com/larsimmisch/pyalsaaudio/blob/0.8.4/CHANGES ------------------------------------------------------------------- Mon Feb 13 18:47:31 UTC 2017 - trcs@gmx.com - specfile: * applied spec-cleaner * changed to https for source url * updated source url to files.pythonhosted.org - splitted doc subpackage - update to version 0.8.2: * fix #3 (we cannot get the revision from git for pip installs) - changes from version 0.8.1: * document changes (this file) - changes from 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. ------------------------------------------------------------------- Sun Jan 13 15:07:02 UTC 2013 - p.drouand@gmail.com - Initial python3 support ------------------------------------------------------------------- Fri Sep 2 07:59:58 UTC 2011 - saschpe@suse.de - Initial version