LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   xmms flac playback slackware64 -current (http://www.linuxquestions.org/questions/slackware-14/xmms-flac-playback-slackware64-current-727729/)

hemp4fuel 05-22-2009 03:06 AM

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?

samac 05-22-2009 03:20 AM

I can confirm that xmms does not play flac, however audacious does.

samac

hemp4fuel 05-24-2009 01:36 AM

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/libxmms-flac.so and flac-1.2.1/src/plugin_xmms/libxmms-flac.la to /usr/lib64/xmms/Input/ fixes the problem.

disturbed1 05-24-2009 07:17 AM

flac doesn't build with gcc 4.3.

Here's the upstream patch -

http://sourceforge.net/tracker/index...78&atid=313478
Code:

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 info@slackware.com last month. Probably wrong email addy ;)

syvy 11-25-2009 11:51 AM

Sorry, can someone tell me how to use this patch?


All times are GMT -5. The time now is 06:49 PM.