Peter Laufenberg <open...@laufenberg.ch> wrote:

> >That looks like the most difficult part, because offhand I have no
> >idea how to interface those input devices with a tty.
> 
> The point is not to need tty or network client/server messaging. I query
> a USB device directly, never leaves the Geode.

Well, on the box you still need to talk somehow to the MP3 playing
program.

> >mpg123 is probably the fastest one, although all of them will be
> >fast enough.
> 
> Ok I saw mpg321 picked up that project and depends on madlib like a ton
> of other players.

That's not how it happened.

mpg123 is a floating point decoder.  That code has also been used
in XMMS and MPlayer.  libmad is a completely independent code base
and uses fixed point arithmetic.

Years ago, when mpg123 was stuck at 0.59r, unmaintained and crufty,
and with a problematic license, somebody decided to throw a rough
clone together as a programming exercise by combining libmad and
libao with some glue and under the GPL--thus was born mpg321.
Eventually mpg321 was abandoned as well, but in the meantime mpg123
had been picked up again and the project is alive and well today,
including a cleaned-up license.  Lately mpg321 has also been revived,
sort of.

Historically, there was also a bit of jostling over the patent
situation, where the mpg123 author said that MP3 patents probably
applied and the libmad author thought they might not because of the
fixed-point code, but by now they are probably expired anyway.

Speaking as the guy who is the OpenBSD maintainer for both ports,
I very much prefer mpg123, and if you are concerned about CPU usage,
it should be the fastest MP3 decoder around (unless you are on an
architecture without floating point, i.e., ARM).

-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to