Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: new xmms plugin (Read 4655 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

new xmms plugin

check my plugin at : http://www.epita.fr/~fondri_f/aac/

the plugin is not finish yet but working with psytel 2.15 and older aac files.
it check and write id3tag in the xterm (not finished!)

new xmms plugin

Reply #1
Thanks. Unfortunately FAAD still doesn't compile on Linux, so I'm still looking for a way to play AAC on this platform.

--
GCP

new xmms plugin

Reply #2
Quote
Originally posted by Garf
Thanks. Unfortunately FAAD still doesn't compile on Linux, so I'm still looking for a way to play AAC on this platform.


Huh? FAAD2 should compile fine on Linux, there is even a RPM available on the site. Latest CVS code doesn't use libsndfile anymore, so that should make it even easier.

Menno

new xmms plugin

Reply #3
Making all in frontend
make[1]: Entering directory `/home/giancarlo/faad2/frontend'
gcc -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="faad" -DVERSION="2.0" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_STDINT_H=1 -DHAVE_INTTYPES_H=1  -I. -I.  -I../include -I../common/mp4v2    -O2 -D_FILE_OFFSET_BITS=64 -c main.c
gcc -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="faad" -DVERSION="2.0" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_STDINT_H=1 -DHAVE_INTTYPES_H=1  -I. -I.  -I../include -I../common/mp4v2    -O2 -D_FILE_OFFSET_BITS=64 -c audio.c
audio.c: In function `open_audio_file':
audio.c:55: structure has no member named `samples'
audio.c:93:2: warning: no newline at end of file

new xmms plugin

Reply #4
Hmm, ok, I can't test that myself. Shouldn't the makefile be run from the root directory?
Or maybe the include directory for sndfile.h is not set correctly? Or are you trying the latest CVS now? Could very well be that I have broken the compilation since the last release.

Menno

new xmms plugin

Reply #5
Quote
Originally posted by menno
Hmm, ok, I can't test that myself. Shouldn't the makefile be run from the root directory?
Or maybe the include directory for sndfile.h is not set correctly? Or are you trying the latest CVS now? Could very well be that I have broken the compilation since the last release.
Menno


I ran the makefile from the root.

This is the FAAD2-1.1 release.

--
GCP

new xmms plugin

Reply #6
Did you install libsndfile first?

Menno

new xmms plugin

Reply #7
witch glibc have you ????

the faad2 compile fine with a glibc 2.2.5 (aka redhat7.x, lfs 3.3, gentoo 1.2...)

i think that on older glibc (redhat 6.x) the plugin won't compile

new xmms plugin

Reply #8
Quote
Originally posted by menno
Did you install libsndfile first?

Menno


Yes (1.0.0)

--
GCP

new xmms plugin

Reply #9
Quote
Originally posted by ciber-fred
witch glibc have you ????

the faad2 compile fine with a glibc 2.2.5 (aka redhat7.x, lfs 3.3, gentoo 1.2...)

i think that on older glibc (redhat 6.x) the plugin won't compile


Glibc 2.1.3

Upgrading this is a no-goer.

--
GCP

new xmms plugin

Reply #10
Quote
Originally posted by Garf
audio.c
audio.c: In function `open_audio_file':
audio.c:55: structure has no member named `samples'

Garf,

Had the same error. IIRC, before compiling faad2 I installed the most recent version of libsndfile, which apparently has a slightly different interface compared to previous versions. Anyway, the member `samples' was renamed to `frames'. So here's how I fixed the problem: go to line 55 of faad2/frontend/audio.c and make it look like

aufile->sfinfo.frames  = 0;

Hope I got it right (didn't document the changes I've made...), but IIRC I only had to change that line. You could always check the header files of the libsndfile you installed, that's how I found the solution anyways.

HTH,
m0sk