| Summary: | KAlarm play audio feature stopped working after upgrading to Plasma 6.1 | ||
|---|---|---|---|
| Product: | [Applications] kalarm | Reporter: | Link <link20050703> |
| Component: | sound | Assignee: | David Jarvie <djarvie> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kdedev |
| Priority: | NOR | ||
| Version First Reported In: | 3.8.1.2 | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/pim/kalarm/-/commit/a3ce5043f2074829156f414cc32075579b3bbf94 | Version Fixed/Implemented In: | 24.08 |
| Sentry Crash Report: | |||
| Attachments: | An .wav audio file | ||
|
Description
Link
2024-06-26 04:55:13 UTC
If possible, can you please attach the .wav file so that I can test with it. If it's too big, a truncated version which also shows the same fault would be fine. Created attachment 171023 [details]
An .wav audio file
Ok, here it is (I have checked that with this audio file, KAlarm doesn't play any sounds)
Interestingly, in the new Display Alarm > Sound > Sound File dialog, after I have selected the wav file and press the "test the sound" play button, the button changes to the stop sound button and after ~2 seoncds (which is also the length of the wav file) the button changes to the play sound button again. I think that maybe it has something to do with the audio not being piped to the speaker? Like I'm sure it can play the audio file, it's just not piping the audio to the speaker or something
Thanks for the update and providing the wav file. I verified I can hear the wav file if I play it with VLC, just to eliminate that as the problem. I am not able to reproduce the problem in KDE Neon, KAlarm 3.8.1.2 I created a new alarm and used "/usr/share/sounds/oxygen/stereo/alarm-clock-elapsed.ogg" I created another audio alarm using the provided wav file When I click Try I hear the sound in both cases, and if I let the alarm go off I hear it as well. I'll leave this for David Jarvie to take a further look into. FYI this may be related to https://bugs.kde.org/show_bug.cgi?id=484851 I tested the wav file in both a display alarm and an audio alarm, and it works on my KDE Neon system in both cases. It also works when I press the "test the sound" play button. Random thoughts: The wav file which you provided is quite short. Is the result the same for longer files? Is the audio volume set loud enough to hear it? If you use the volume setting in KAlarm, this can only play as loud as the system volume setting. > The wav file which you provided is quite short. Is the result the same for longer files? Yes. The result the same for longer files. > Is the audio volume set loud enough to hear it? If you use the volume setting in KAlarm, this can only play as loud as the system volume setting. Yes. The weird thing is that when I press "test the sound" KAlarm doesn't even show up in the applications list of the audio control panel. I only see speech-dispatcher-dummy, whatever that is. KAlarm has now been converted to use the VLC library to play sound files, which will hopefully fix this bug. The fix will be in KAlarm version 3.9, which will be in the KDE Gear 24.08 release. If the new version doesn't fix it, please reopen this bug report. Commit https://invent.kde.org/pim/kalarm/-/commit/a3ce5043f2074829156f414cc32075579b3bbf94 |