https://bugs.kde.org/show_bug.cgi?id=489597
Bug ID: 489597 Summary: audio alarms do not play flac or mp3 files Classification: Applications Product: kalarm Version: 3.8.1.1 Platform: Fedora RPMs OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: djar...@kde.org Reporter: dominick.allen1...@gmail.com Target Milestone: --- Created attachment 171274 --> https://bugs.kde.org/attachment.cgi?id=171274&action=edit Tarball of sample file in wav, flac, mp3, and ogg formats *** If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** SUMMARY When trying to play a file unsupported by libcanberra, a dialog window pops up which says "Error playing audio file: '/PATH/TO/SPECIFIED/AUDIO/FILE.FORMAT' Unsupported audio format, or corrupt data" STEPS TO REPRODUCE 1. Create a new audio alarm 2. Specify for the audio alarm a file which is encoded in FLAC or MP3 3. Click "Try" and observe the previously mentioned error message which indicates the file is corrupt. 4. Verify the file is not corrupt by playing it with a different media player, such as vlc, mpv, mplayer, or a web browser. 5. Confirm that the command `canberra-gtk-play -f $SAMPLE_FILE_PATH` outputs the second part of the dialog's error message, "Failed to play sound: File or data corrupt"` OBSERVED RESULT Error message about a corrupt file. EXPECTED RESULT That it just works. Linux/KDE Plasma: Fedora Linux 40 (available in About System) KDE Plasma Version: 6.1.1 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.1 ADDITIONAL INFORMATION Using wayland. The sample file is only five seconds long, you can confirm with a media player or audacity or whatever that none are corrupt and produce audio. This is a deficiency of libcanberra, rather than a specific problem with kalarm other than transitively. -- You are receiving this mail because: You are watching all bug changes.