Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kalarm in Plasma 6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
pygoscelis
Guru
Guru


Joined: 07 Jun 2003
Posts: 408

PostPosted: Fri Sep 20, 2024 5:10 am    Post subject: Kalarm in Plasma 6 Reply with quote

kde-apps/kalarm-24.05.2:6::gentoo has lost its ability to play mp3 files. It says "Unsupported audio format, or corrupt data" (and gives a warning sound, so sound by itself is working). It is not corrupt data, it's all mp3s and kde-apps/kalarm-23-whatever worked just fine with these file.

How can I troubleshoot this?
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1746
Location: Germany

PostPosted: Fri Sep 20, 2024 6:31 am    Post subject: Reply with quote

One way would be to add the mp3 useflag as a global one.
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9288

PostPosted: Fri Sep 20, 2024 6:38 am    Post subject: Reply with quote

That version of kalarm is using media-libs/libcanberra for sound output. What are your use flag settings on that?
Back to top
View user's profile Send private message
pygoscelis
Guru
Guru


Joined: 07 Jun 2003
Posts: 408

PostPosted: Fri Sep 20, 2024 10:22 am    Post subject: Reply with quote

asturm wrote:
That version of kalarm is using media-libs/libcanberra for sound output. What are your use flag settings on that?


Hmm... alsa gtk3 pulseaudio udev -gnome -gstreamer -gtk2 -oss -sound -tdb

Edit: I added gstreamer and sound, still no dice. canberra-gtk-play also says data corrupt. Libcanberra is a binary package...
Back to top
View user's profile Send private message
pygoscelis
Guru
Guru


Joined: 07 Jun 2003
Posts: 408

PostPosted: Fri Sep 20, 2024 9:38 pm    Post subject: Reply with quote

Here's the thing. libcanberra cannot play mp3 at all. It can play wav and ogg files only. It's all in the source code.

libcanberra's last change was 12 years ago. I'd say for a program that is supposed to play sound files it probably wasn't such a great idea to go with this library. It is designed to play sound theme sounds and perhaps it's great for that purpose.

Anyway I transcoded my alarm sounds to Ogg Vorbis and now I can wake up with the Colonel Bogey march played by the Royal Marines orchestra again. Happy days!
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9288

PostPosted: Fri Sep 20, 2024 9:40 pm    Post subject: Reply with quote

You'll be then thrilled to know that >=kalarm-24.08.0 was ported away to media-video/vlc for sound playback.
Back to top
View user's profile Send private message
pygoscelis
Guru
Guru


Joined: 07 Jun 2003
Posts: 408

PostPosted: Fri Sep 20, 2024 9:49 pm    Post subject: Reply with quote

asturm wrote:
You'll be then thrilled to know that >=kalarm-24.08.0 was ported away to media-video/vlc for sound playback.


I am! Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum