Play sound from python/ALSA instead QtMultimedia

GStreamer sucks
This commit is contained in:
miruka
2021-03-01 00:00:04 -04:00
parent 31f6e5320a
commit 92c49140e7
7 changed files with 33 additions and 38 deletions

View File

@@ -58,12 +58,9 @@ class Notifications:
# Default sound to play for notifications. Can be the filename
# of a builtin sound (only "default.wav" currently exists), or the
# absolute path to an audio file, preferably in the WAV format.
# absolute path to a WAV file.
default_sound: str = "default.wav"
# Volume at which the notification sound will be played, 0-100.
volume: int = 75
# How long in seconds the window will flash in your dock or taskbar when
# a new message, which matches a notification push rule with a
# flash (lightbulb) action, is posted in a room.