From 755df6284aba1e145dc580b38fe0654feef7f80c Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 23 Dec 2018 23:43:12 +0100 Subject: [PATCH] Added missing reference to completed_callback_event --- platypush/plugins/sound.py | 1 + 1 file changed, 1 insertion(+) diff --git a/platypush/plugins/sound.py b/platypush/plugins/sound.py index 503824c0..ed53c0ab 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',