bastibe / SoundCard

A Pure-Python Real-Time Audio Library
https://soundcard.readthedocs.io
BSD 3-Clause "New" or "Revised" License
689 stars 70 forks source link

Update pulseaudio.py #173

Closed Alucard2169 closed 1 year ago

Alucard2169 commented 1 year ago

Fixed Soundcard/pulseaudio.py to support the latest version of python3 and websockets.

bastibe commented 1 year ago

Thank you for the pull request.

Does this break in newer versions of python?

Alucard2169 commented 1 year ago

collections.Iterable has been obsolete since 2012 => https://docs.python.org/3/whatsnew/3.3.html, 3.10 just finally removed it.

The tweaks I made works perfectly for me after making these changes in the PulseAudio script, I use Panon on 2 of my devices and had to make these tweaks for it to work.

I also checked numerous forms and solutions and everyone recommended making these tweaks.

bastibe commented 1 year ago

Thank you very much for your contribution!