warchildmd/google-assistant-hotword-raspi

Missing argument in assistant.py in call to audio_helpers.ConversationStream

ipio opened this issue · 2 comments

ipio commented

It should be corrected from this:

    self.conversation_stream = audio_helpers.ConversationStream(
        source=self.audio_source,
        sink=self.audio_sink,
        iter_size=self.audio_iter_size,
    )

to this:

    self.conversation_stream = audio_helpers.ConversationStream(
        source=self.audio_source,
        sink=self.audio_sink,
        iter_size=self.audio_iter_size,
        sample_width=self.audio_sample_width
    )

Exactly, I've edited the assistant.py acordingly and the error is gone

Solved #4