<table><tr><td style="">bruns added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D19806">View Revision</a></tr></table><br /><div><div><p>According to <a href="http://0pointer.de/public/sound-theme-spec.html" class="remarkup-link" target="_blank" rel="noreferrer">http://0pointer.de/public/sound-theme-spec.html</a> (linked from <a href="https://freedesktop.org/wiki/Specifications/sound-theme-spec/" class="remarkup-link" target="_blank" rel="noreferrer">https://freedesktop.org/wiki/Specifications/sound-theme-spec/</a>)</p>

<p>wav and ogg/vorbis are mandatory, but this does not rule out other formats in general.</p>

<p>unfortunately, there is no API in libcanberra to check the supported types, save trying to open the file:<br />
<a href="http://git.0pointer.net/libcanberra.git/tree/src/read-sound-file.c" class="remarkup-link" target="_blank" rel="noreferrer">http://git.0pointer.net/libcanberra.git/tree/src/read-sound-file.c</a></p>

<p>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.</p>

<p>So, +1 from me.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R305 KNotifyConfig</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D19806">https://phabricator.kde.org/D19806</a></div></div><br /><div><strong>To: </strong>broulik, Frameworks, dfaure<br /><strong>Cc: </strong>bruns, apol, kde-frameworks-devel, michaelh, ngraham<br /></div>