- 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
OBS-URL: https://build.opensuse.org/request/show/1246606
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyalsaaudio?expand=0&rev=17
- 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
OBS-URL: https://build.opensuse.org/request/show/965068
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyalsaaudio?expand=0&rev=2
* '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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyalsaaudio?expand=0&rev=9