Skip to content

Commit bc5ce07

Browse files
committed
sound settings: Fix mic gain adjustment.
requires: linuxmint/cinnamon-desktop@a33adc9 ref: linuxmint/mint21-beta#7
1 parent 2ba4a7f commit bc5ce07

File tree

1 file changed

+2
-1
lines changed
  • files/usr/share/cinnamon/cinnamon-settings/modules

1 file changed

+2
-1
lines changed

files/usr/share/cinnamon/cinnamon-settings/modules/cs_sound.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,8 @@ def setStream(self, stream):
346346
self.stream.remove_monitor()
347347
self.stream.disconnect(self.monitorId)
348348
self.stream = stream
349-
self.monitorId = self.stream.connect("notify::state", self.update)
349+
self.stream.create_monitor()
350+
self.monitorId = self.stream.connect("monitor-update", self.update)
350351

351352
def update(self, stream, value):
352353
if self.lastPeak >= DECAY_STEP and value < self.lastPeak - DECAY_STEP:

0 commit comments

Comments
 (0)