Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-sounddevice for openSUSE:Factory checked in at 2024-09-09 14:44:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sounddevice (Old) and /work/SRC/openSUSE:Factory/.python-sounddevice.new.10096 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sounddevice" Mon Sep 9 14:44:33 2024 rev:14 rq:1199457 version:0.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-sounddevice/python-sounddevice.changes 2024-06-10 17:38:33.781016661 +0200 +++ /work/SRC/openSUSE:Factory/.python-sounddevice.new.10096/python-sounddevice.changes 2024-09-09 14:45:26.065170519 +0200 @@ -1,0 +2,7 @@ +Sun Sep 8 13:21:54 UTC 2024 - Dirk Müller <[email protected]> + +- update to 0.5.0: + * Remove ASIO support from bundled DLLs (DLLs with ASIO can be + manually selected) + +------------------------------------------------------------------- Old: ---- sounddevice-0.4.7.tar.gz New: ---- sounddevice-0.5.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sounddevice.spec ++++++ --- /var/tmp/diff_new_pack.3PY0O6/_old 2024-09-09 14:45:26.717197642 +0200 +++ /var/tmp/diff_new_pack.3PY0O6/_new 2024-09-09 14:45:26.721197809 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-sounddevice -Version: 0.4.7 +Version: 0.5.0 Release: 0 Summary: Module to play and record sound with Python License: MIT ++++++ sounddevice-0.4.7.tar.gz -> sounddevice-0.5.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.4.7/NEWS.rst new/sounddevice-0.5.0/NEWS.rst --- old/sounddevice-0.4.7/NEWS.rst 2024-05-27 21:26:29.000000000 +0200 +++ new/sounddevice-0.5.0/NEWS.rst 2024-08-11 14:55:18.000000000 +0200 @@ -1,3 +1,6 @@ +0.5.0 (2024-08-11): + * Remove ASIO support from bundled DLLs (DLLs with ASIO can be manually selected) + 0.4.7 (2024-05-27): * support ``paWinWasapiAutoConvert`` with ``auto_convert`` flag in `WasapiSettings` * Avoid exception in `PortAudioError`\ ``.__str__()`` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.4.7/PKG-INFO new/sounddevice-0.5.0/PKG-INFO --- old/sounddevice-0.4.7/PKG-INFO 2024-05-27 21:26:53.496556000 +0200 +++ new/sounddevice-0.5.0/PKG-INFO 2024-08-11 14:55:43.637320500 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: sounddevice -Version: 0.4.7 +Version: 0.5.0 Summary: Play and Record Sound with Python Home-page: http://python-sounddevice.readthedocs.io/ Author: Matthias Geier diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.4.7/doc/examples.rst new/sounddevice-0.5.0/doc/examples.rst --- old/sounddevice-0.4.7/doc/examples.rst 2024-05-27 21:26:29.000000000 +0200 +++ new/sounddevice-0.5.0/doc/examples.rst 2024-08-11 14:55:18.000000000 +0200 @@ -6,6 +6,7 @@ :gh-example:`play_file.py` .. literalinclude:: ../examples/play_file.py + :language: python Play a Very Long Sound File --------------------------- @@ -13,6 +14,7 @@ :gh-example:`play_long_file.py` .. literalinclude:: ../examples/play_long_file.py + :language: python Play a Very Long Sound File without Using NumPy ----------------------------------------------- @@ -20,6 +22,7 @@ :gh-example:`play_long_file_raw.py` .. literalinclude:: ../examples/play_long_file_raw.py + :language: python Play a Web Stream ----------------- @@ -27,6 +30,7 @@ :gh-example:`play_stream.py` .. literalinclude:: ../examples/play_stream.py + :language: python Play a Sine Signal ------------------ @@ -34,6 +38,7 @@ :gh-example:`play_sine.py` .. literalinclude:: ../examples/play_sine.py + :language: python Input to Output Pass-Through ---------------------------- @@ -41,6 +46,7 @@ :gh-example:`wire.py` .. literalinclude:: ../examples/wire.py + :language: python Plot Microphone Signal(s) in Real-Time -------------------------------------- @@ -48,6 +54,7 @@ :gh-example:`plot_input.py` .. literalinclude:: ../examples/plot_input.py + :language: python Real-Time Text-Mode Spectrogram ------------------------------- @@ -55,6 +62,7 @@ :gh-example:`spectrogram.py` .. literalinclude:: ../examples/spectrogram.py + :language: python Recording with Arbitrary Duration --------------------------------- @@ -62,6 +70,7 @@ :gh-example:`rec_unlimited.py` .. literalinclude:: ../examples/rec_unlimited.py + :language: python Using a stream in an `asyncio` coroutine ---------------------------------------- @@ -69,6 +78,7 @@ :gh-example:`asyncio_coroutines.py` .. literalinclude:: ../examples/asyncio_coroutines.py + :language: python Creating an `asyncio` generator for audio blocks ------------------------------------------------ @@ -76,3 +86,4 @@ :gh-example:`asyncio_generators.py` .. literalinclude:: ../examples/asyncio_generators.py + :language: python diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.4.7/doc/installation.rst new/sounddevice-0.5.0/doc/installation.rst --- old/sounddevice-0.4.7/doc/installation.rst 2024-05-27 21:26:29.000000000 +0200 +++ new/sounddevice-0.5.0/doc/installation.rst 2024-08-11 14:55:18.000000000 +0200 @@ -25,8 +25,7 @@ have a look at the section about :doc:`CONTRIBUTING`. If you install the ``sounddevice`` module with ``pip`` on macOS or Windows, -the PortAudio_ library (with ASIO support on Windows) will be installed -automagically. +the PortAudio_ library will be installed automagically. On other platforms, you might have to install PortAudio with your package manager (the package might be called ``libportaudio2`` or similar). @@ -44,6 +43,21 @@ python -m pip install numpy +ASIO Support +------------ + +Installing the ``sounddevice`` module with ``pip`` (on Windows) +will provide PortAudio_ DLLs *without* ASIO support +(because of the problems mentioned in `issue #496`__). +To enable ASIO support, download the file +`libportaudio64bit-asio.dll`__ or libportaudio32bit-asio.dll__ +and rename/move it as described in the next section. + +__ https://github.com/spatialaudio/python-sounddevice/issues/496 +__ https://github.com/spatialaudio/portaudio-binaries/raw/master/libportaudio64bit-asio.dll +__ https://github.com/spatialaudio/portaudio-binaries/raw/master/libportaudio32bit-asio.dll + + Custom PortAudio Library ------------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.4.7/sounddevice.egg-info/PKG-INFO new/sounddevice-0.5.0/sounddevice.egg-info/PKG-INFO --- old/sounddevice-0.4.7/sounddevice.egg-info/PKG-INFO 2024-05-27 21:26:53.000000000 +0200 +++ new/sounddevice-0.5.0/sounddevice.egg-info/PKG-INFO 2024-08-11 14:55:43.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: sounddevice -Version: 0.4.7 +Version: 0.5.0 Summary: Play and Record Sound with Python Home-page: http://python-sounddevice.readthedocs.io/ Author: Matthias Geier diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.4.7/sounddevice.py new/sounddevice-0.5.0/sounddevice.py --- old/sounddevice-0.4.7/sounddevice.py 2024-05-27 21:26:29.000000000 +0200 +++ new/sounddevice-0.5.0/sounddevice.py 2024-08-11 14:55:18.000000000 +0200 @@ -48,7 +48,7 @@ https://python-sounddevice.readthedocs.io/ """ -__version__ = '0.4.7' +__version__ = '0.5.0' import atexit as _atexit import os as _os @@ -1832,16 +1832,20 @@ odev = _get_device_id(default.device['output'], 'output') digits = len(str(_lib.Pa_GetDeviceCount() - 1)) hostapi_names = [hostapi['name'] for hostapi in query_hostapis()] + + def get_mark(idx): + return (' ', '>', '<', '*')[(idx == idev) + 2 * (idx == odev)] + text = '\n'.join( '{mark} {idx:{dig}} {name}, {ha} ({ins} in, {outs} out)'.format( - mark=(' ', '>', '<', '*')[(idx == idev) + 2 * (idx == odev)], - idx=idx, + mark=get_mark(info['index']), + idx=info['index'], dig=digits, name=info['name'], ha=hostapi_names[info['hostapi']], ins=info['max_input_channels'], outs=info['max_output_channels']) - for idx, info in enumerate(self)) + for info in self) return text
