Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-92055

Support for freedesktop.org sound themes in QSoundEffect

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • 6.x
    • 6.1
    • Multimedia
    • All

    Description

      The freedesktop sound theme (https://specifications.freedesktop.org/sound-theme-spec/sound-theme-spec-latest.html) works very similar to an icon theme.

      Instead of specifying a specific audio file that should be played a semantic sound name (e.g. "dialog-warning") is specified which is then resolved from a user-configured sound theme.

      My proposal is to add the ability to specify a sound by name instead of URL to QSoundEffect that is then resolved via the sound theme.

      Both the name->file resolution as well as the actual playback can be done using the reference implementation library, libcanberra (http://0pointer.de/lennart/projects/libcanberra/). It also allows to play regular audio files by URL. It is optimized for low-latency effect playback so it fits well within the scope of QSoundEffect.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            laknoll Lars Knoll
            nicolasfella Nicolas Fella
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes