We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ba4a7f commit bc5ce07Copy full SHA for bc5ce07
files/usr/share/cinnamon/cinnamon-settings/modules/cs_sound.py
@@ -346,7 +346,8 @@ def setStream(self, stream):
346
self.stream.remove_monitor()
347
self.stream.disconnect(self.monitorId)
348
self.stream = stream
349
- self.monitorId = self.stream.connect("notify::state", self.update)
+ self.stream.create_monitor()
350
+ self.monitorId = self.stream.connect("monitor-update", self.update)
351
352
def update(self, stream, value):
353
if self.lastPeak >= DECAY_STEP and value < self.lastPeak - DECAY_STEP:
0 commit comments