Am Mon, 29 Oct 2012 12:19:50 -0000
schrieb saturn <saturn-...@nm.ru>: 

> Attempt to open mp3 return "...mpg123: Error opening file a.mp3: Unable
> to set up output format! (code 1)."
> 
> This bug with solution discussed already here http://redmine.audacious-
> media-player.org/boards/2/topics/315

Um, people want everything, eh? Well, there is some wrong and some
correct information there. The solution of using generic C code works
for getting all output formats, yes (John Lindgren got a wrong
impression there about float output being coupled to assembly
optimizations).

But there also is assembly-optimized decoding to floating point on ARM
platforms that feature the NEON instructions (Cortex A8). There is no
common build encompassing the different variants like x86 and it is not
likely that there will be, as the normal ARM does integer math. There
might be a build that combines ARM NEON with generic C fallback code,
using floating point math.

When audacious insists on floating point data, even on machines that do
not feature floating point hardware, you have some options:

a) build mpg123 with generic_fpu ... which makes it relatively slow for
normal 16-bit playback (or in ARM terms: consuming too much energy),
b) patch audacious mpg123 binding to convert 16 bit to float on-the-fly or
c) patch mpg123 (or motivate a release) to do that float conversion
after decoding, just like 24 bit or  unsigned  integer types are
handled right now.

I see a point for the latter one ... it would not be hard to do it.
Just a bit pointless in case this is running on a CPU that has working
floating point support, or NEON, even.

Thoughts from debian? I see this being a problem for packaging as you
have to decide for one mpg123 build for stand-alone operation and
linking to audacious. Compromises suck.


Alrighty then,

Thomas

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1072696

Title:
  Issue with Audacious play mp3 on ac100

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mpg123/+bug/1072696/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to