Project

General

Profile

Issue with audacious-3.2.2 play 冒泡

Added by alvin xu almost 12 years ago

Hi all


Replies (6)

Issue with audacious-3.2.2 play mp3 on ARM platform - Added by alvin xu almost 12 years ago

Hi all

I cross compiled audacious-3.2.2,audacious-plugins-3.2.2,mpg123-1.14.1 with arm-linux-gcc successfully.
But when I play mp3 with command "audacious a.mp3", program hits:

*mpg123: Error opening file a.mp3: Unable to set up output format! (code 1).

when I use mpg123 test program to run command "[linux]#./mpg123 hw:0,0 a.mp3", everything is okay, i can hear the music, but audacious failed.
Does anybody know what happened?

[build audacious-3.2.2]
./configure CC=arm-linux-gcc --host=arm-linux --disable-chardet --disable-dbus --prefix=/usr/gtkx11-arm-p4
make && make install

[build audacious-plugins-3.2.2]
./configure CC=arm-linux-gcc --host=arm-linux --enable-mp3 --enable-chardet --prefix=/usr/gtkx11-arm-p4 --disable-vorbis --disable-filewriter_vorbis --disable-gnomeshortcuts --disable-sdlout --disable-scrobbler #### use vesa
make && make install

RE: Issue with audacious-3.2.2 play 冒泡 - Added by John Lindgren almost 12 years ago

mpg123 relies on assembly code and does not provide a C-language fallback for its floating-point output. You should talk to the project's developers about implementing floating-point support on ARM platforms.

RE: Issue with audacious-3.2.2 play 冒泡 - Added by alvin xu almost 12 years ago

Thanks, John
Do you mean it is the mpg123 lib issue, not audacious mpg123 plugin issue?

But I suspect it is the audacious mpg123 plugin issue.

Cross compile mpg123-1.14.1 library will generate a binary file "mpg123", it is the sample test program to play mp3.
When I use it to play mp3 on ARM board with command "mpg123 a.mp3", output music is okay, but audacious failed.
Here is the infomation: ########################################################################################
root@DevKit8000:~# mpg123 /usr/gtkx11-arm-p4/var/urmyeyes.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.14.1; written and copyright by Michael Hipp and others
free software (LGPL/GPL) without any warranty but with best wishes

Directory: /usr/gtkx11-arm-p4/var/
Playing MPEG stream 1 of 1: urmyeyes.mp3 ...

MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
Title: * Artist:
Comment: ting.baidu.com Album: *
* **
Year: 2007-10-05 Genre: Unknown ###########################################################################################

RE: Issue with audacious-3.2.2 play 冒泡 - Added by John Lindgren almost 12 years ago

It is neither strictly an mpg123 issue nor an issue with the Audacious plugin. The command line mpg123 will do 16-bit integer decoding, for which mpg123 has a C-language implementation. Audacious requires mpg123 to do floating-point decoding, for which it has only assembly language implementations, none of which work on ARM.

RE: Issue with audacious-3.2.2 play 冒泡 - Added by alvin xu almost 12 years ago

Hi John

Issue resolved after cross compiled mpg123 with option "--with-cpu=generic_fpu".

Thanks very much.

    (1-6/6)