Skip to content

Commit 6c23066

Browse files
committed
cs_sound.py: Add some more sound ids to ignore.
Some effects come as Muffin now (we play them via Meta api), GSound does test sounds now, and presents as cinnamon-settings.py. Fixes #11060.
1 parent b845243 commit 6c23066

File tree

1 file changed

+9
-3
lines changed
  • files/usr/share/cinnamon/cinnamon-settings/modules

1 file changed

+9
-3
lines changed

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -778,9 +778,15 @@ def streamAdded(self, c, deviceId):
778778

779779
# FIXME: We use to filter out by PA_PROP_APPLICATION_ID. But
780780
# most streams report this as null now... why??
781-
if name in ("speech-dispatcher", "libcanberra"):
782-
# speech-dispatcher: orca/speechd/spd-say
783-
# libcanberra: cinnamon effects, test sounds
781+
if name in ("cinnamon-settings.py",
782+
"speech-dispatcher",
783+
"speech-dispatcher-dummy",
784+
"libcanberra",
785+
"Muffin"):
786+
# cinnamon-settings.py: test sounds
787+
# speech-dispatcher[-dummy]: orca/speechd/spd-say
788+
# libcanberra: cinnamon effects, test sounds - don't think this is needed any more?
789+
# Muffin: window effects, some other cinnamon effects.
784790
return
785791

786792
if deviceId in self.appList.keys():

0 commit comments

Comments
 (0)