While Phonon could play all the files, libcanberra as a low-latency notification sound library only supports WAV and OGG*.
*) I didn't find documentation on this but ca_sound_file_open in libcanberra only has a wav and vorbis handler
BUG: 405470
dfaure | |
bruns |
Frameworks |
While Phonon could play all the files, libcanberra as a low-latency notification sound library only supports WAV and OGG*.
*) I didn't find documentation on this but ca_sound_file_open in libcanberra only has a wav and vorbis handler
BUG: 405470
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
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.