From 953f80ce7a0be9486a29ce067cd96ab2f755e8aab797bcc6694894d2c14788f8 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 26 Mar 2022 18:46:17 +0000 Subject: [PATCH] - 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/package/show/devel:languages:python/python-pyalsaaudio?expand=0&rev=9 --- pyalsaaudio-0.8.4.tar.gz | 3 --- pyalsaaudio-0.9.0.tar.gz | 3 +++ python-pyalsaaudio.changes | 15 +++++++++++++++ python-pyalsaaudio.spec | 13 ++++++------- 4 files changed, 24 insertions(+), 10 deletions(-) delete mode 100644 pyalsaaudio-0.8.4.tar.gz create mode 100644 pyalsaaudio-0.9.0.tar.gz diff --git a/pyalsaaudio-0.8.4.tar.gz b/pyalsaaudio-0.8.4.tar.gz deleted file mode 100644 index 16295c0..0000000 --- a/pyalsaaudio-0.8.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:84e8f8da544d7f4bd96479ce4a237600077984d9be1d7f16c1d9a492ecf50085 -size 315419 diff --git a/pyalsaaudio-0.9.0.tar.gz b/pyalsaaudio-0.9.0.tar.gz new file mode 100644 index 0000000..bfa8885 --- /dev/null +++ b/pyalsaaudio-0.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3ca069c736c8ad2a3047b5033468d983a2480f94fad4feb0169c056060e01e69 +size 370435 diff --git a/python-pyalsaaudio.changes b/python-pyalsaaudio.changes index 7a410bd..43686b1 100644 --- a/python-pyalsaaudio.changes +++ b/python-pyalsaaudio.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +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 diff --git a/python-pyalsaaudio.spec b/python-pyalsaaudio.spec index 15c878d..0367d02 100644 --- a/python-pyalsaaudio.spec +++ b/python-pyalsaaudio.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyalsaaudio # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,26 +12,25 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_with test Name: python-pyalsaaudio -Version: 0.8.4 +Version: 0.9.0 Release: 0 Summary: ALSA bindings for Python License: Python-2.0 Group: Development/Languages/Python -Url: http://larsimmisch.github.io/pyalsaaudio/ +URL: https://larsimmisch.github.io/pyalsaaudio/ Source: https://files.pythonhosted.org/packages/source/p/pyalsaaudio/pyalsaaudio-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: alsa-devel BuildRequires: fdupes BuildRequires: python-rpm-macros - %python_subpackages %description @@ -55,8 +54,8 @@ export CFLAGS="%{optflags}" %endif %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGES LICENSE +%license LICENSE +%doc CHANGES %{python_sitearch}/* %changelog