pymumble
pymumble copied to clipboard
Can't send audio, if set_receive_sound is False
Hi. Just upgraded from 1.6.1 to the latest git. After that I stumbled upon this:
Traceback (most recent call last):
File "(...)/pymumble-bot/pymumble-bot.py", line 80, in <module>
mumble.sound_output.add_sound(raw_audio)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'add_sound'
Since https://github.com/azlux/pymumble/commit/d37c4c721ce1ee0252e6126cd93c179c5684eadf it seems to be necessary that set_receive_sound is True, if one want to send audio or use anything from sound_output. This kinda contradicts the name of the variable and the documentation.