Hi,
Was encountering an issue where stream creation would sometimes fail and instead of raising a runtime error it would encounter the following exception:
[...]
File "/usr/local/lib/python3.7/site-packages/SoundCard-0.3.2-py3.7.egg/soundcard/pulseaudio.py", line 585, in __enter__
.format(_pulse.pa_stream_get_state(self.stream)))
AttributeError: '_PulseAudio' object has no attribute 'pa_stream_get_state'
I prefixed pa_stream_get_state with an underscore and I think that should fix it.
Hi, Was encountering an issue where stream creation would sometimes fail and instead of raising a runtime error it would encounter the following exception:
I prefixed pa_stream_get_state with an underscore and I think that should fix it.