diff options
Diffstat (limited to 'voctogui/lib/videodisplay.py')
-rw-r--r-- | voctogui/lib/videodisplay.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/voctogui/lib/videodisplay.py b/voctogui/lib/videodisplay.py index 61f7919..0280e74 100644 --- a/voctogui/lib/videodisplay.py +++ b/voctogui/lib/videodisplay.py @@ -141,6 +141,7 @@ class VideoDisplay(object): if msg.type != Gst.MessageType.ELEMENT: return - peaks = msg.get_structure().get_value('peak') rms = msg.get_structure().get_value('rms') - self.level_callback(peaks, rms) + peak = msg.get_structure().get_value('peak') + decay = msg.get_structure().get_value('decay') + self.level_callback(rms, peak, decay) |