D19806: Allow selecting only supported audio files
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Sat Mar 16 16:31:21 GMT 2019
bruns added a comment.
According to http://0pointer.de/public/sound-theme-spec.html (linked from https://freedesktop.org/wiki/Specifications/sound-theme-spec/)
wav and ogg/vorbis are mandatory, but this does not rule out other formats in general.
unfortunately, there is no API in libcanberra to check the supported types, save trying to open the file:
http://git.0pointer.net/libcanberra.git/tree/src/read-sound-file.c
Non-support for e.g. MP3 is likely historical due to patents. but this has changed, and could now be added. On the other hand, libcanberra is dormant since 2012. I think it is save to assume no MP3 support for now, adding it back is trivial.
So, +1 from me.
REPOSITORY
R305 KNotifyConfig
REVISION DETAIL
https://phabricator.kde.org/D19806
To: broulik, #frameworks, dfaure
Cc: bruns, apol, kde-frameworks-devel, michaelh, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190316/a8c7be7a/attachment.html>
More information about the Kde-frameworks-devel
mailing list