Bugfix with closing software when running real time spectra monitor.

This commit is contained in:
Anne de Jong 2018-09-13 15:53:46 +02:00 committed by J.A. de Jong - ASCEE
parent f82ff68b70
commit bbdbb6b707

View File

@ -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