Skip to content

Can't send audio, if set_receive_sound is False #140

Description

@Henning0

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 d37c4c7 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions