Added missing reference to completed_callback_event
This commit is contained in:
parent
c2cf0b5f74
commit
755df6284a
1 changed files with 1 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue