Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 05-22-2009, 03:06 AM   #1
Registered: Jun 2003
Location: Topeka, KS
Distribution: Slackware
Posts: 193

Rep: Reputation: 45
xmms flac playback slackware64 -current

After a fresh install of slackware64 -current, xmms will not play flac files. The flac plugin is not listed in the input plugins in the preferences of xmms. I ran into this in the past when xmms was removed from slackware. To get the xmms-flac plugin you would have to recompile flac after installing xmms. It appears that perhaps flac was compiled before xmms was in the -current version of slack64, therefore there is no flac plugin. I tried to recompile flac with the slackbuild from the source directory in slackware64 but it exited with errors before completing.

Can anyone else confirm the lack of flac playback with xmms in slackware64 -current?
Old 05-22-2009, 03:20 AM   #2
Senior Member
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Linux Mint 17.1
Posts: 1,424

Rep: Reputation: 138Reputation: 138
I can confirm that xmms does not play flac, however audacious does.

Old 05-24-2009, 01:36 AM   #3
Registered: Jun 2003
Location: Topeka, KS
Distribution: Slackware
Posts: 193

Original Poster
Rep: Reputation: 45
I prefer xmms to audacious so I have tried to find a solution to this problem. Although compiling flac exits with an error, it exits after the flac plugin is built. Copying flac-1.2.1/src/plugin_xmms/.libs/ and flac-1.2.1/src/plugin_xmms/ to /usr/lib64/xmms/Input/ fixes the problem.
Old 05-24-2009, 07:17 AM   #4
Senior Member
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
flac doesn't build with gcc 4.3.

Here's the upstream patch -
diff -Naur flac-1.2.1-orig/examples/cpp/encode/file/main.cpp flac-1.2.1/examples/cpp/encode/file/main.cpp
--- flac-1.2.1-orig/examples/cpp/encode/file/main.cpp	2007-09-13 09:58:03.000000000 -0600
+++ flac-1.2.1/examples/cpp/encode/file/main.cpp	2007-11-18 12:59:45.000000000 -0600
@@ -30,6 +30,7 @@
 #include <stdio.h>
 #include <stdlib.h>
+#include <cstring>
 #include "FLAC++/metadata.h"
 #include "FLAC++/encoder.h"
I sent this to last month. Probably wrong email addy
Old 11-25-2009, 11:51 AM   #5
Registered: Sep 2005
Location: Germany
Distribution: slackware64
Posts: 113

Rep: Reputation: 17
Sorry, can someone tell me how to use this patch?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware64 -current made public! bsdunix Slackware 289 06-19-2009 12:15 AM
Slackware64-Current / slackpkg slackass Slackware 31 06-06-2009 10:51 PM
LXer: Slackware64 -current made public! LXer Syndicated Linux News 3 05-21-2009 12:02 PM
-current flac xmms hemp4fuel Slackware 1 04-18-2008 01:11 PM
Loud buzz during FLAC playback in VLC Crushing Belial Linux - Software 0 10-25-2005 01:52 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration