Skip to content

Switch from QMediaPlayer to QSoundEffect for notification sound #551

@danfe

Description

@danfe

In 5c5a5b0, notification sound had been improved by making its volume configurable (and setting it to 50% by default). Previously, the notification sound was indeed a bit too loud. :-)

However, please consider using QSoundEffect class instead, as QMediaPlayer does not work if Qt5 multimedia package was built without GStreamer support, complaining to the console:

defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"

While QSound and QSoundEffect classes work with just core sound backend like ALSA or OSS.

The patch is ready and tested.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions