diff --git a/platypush/plugins/sound.py b/platypush/plugins/sound.py index 503824c009..ed53c0ab68 100644 --- a/platypush/plugins/sound.py +++ b/platypush/plugins/sound.py @@ -414,6 +414,7 @@ class SoundPlugin(Plugin): q.put_nowait(data) # Pre-fill the audio queue streamtype = sd.RawOutputStream if file else sd.OutputStream + completed_callback_event = Event() stream = streamtype(samplerate=samplerate, blocksize=blocksize, device=device, channels=channels, dtype='float32',