Bugfix with closing software when running real time spectra monitor.
This commit is contained in:
parent
f82ff68b70
commit
bbdbb6b707
@ -50,6 +50,12 @@ class AvStream:
|
||||
self._audiothread = None
|
||||
self._videothread = None
|
||||
|
||||
def nCallbacks(self):
|
||||
"""
|
||||
Returns the current number of installed callbacks
|
||||
"""
|
||||
return len(self._callbacks)
|
||||
|
||||
def addCallback(self, cb):
|
||||
"""
|
||||
Add as stream callback to the list of callbacks
|
||||
|
Loading…
Reference in New Issue
Block a user