Skip to content

Commit be8682f

Browse files
authored
set use_blocking_speaker_output to true (vocodedev#323)
1 parent a5474ed commit be8682f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

quickstarts/streaming_conversation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ async def main():
2929
) = create_streaming_microphone_input_and_speaker_output(
3030
use_default_devices=False,
3131
logger=logger,
32+
use_blocking_speaker_output=True, # this moves the playback to a separate thread, set to False to use the main thread
3233
)
3334

3435
conversation = StreamingConversation(

0 commit comments

Comments
 (0)