Peter Laufenberg <[email protected]> wrote: > I want to set up a minimal mp3 Internet radio streamer directly on my > PPPoE ADSL modem so it doesn't travel through the rest of the LAN and > pollute logs,
I don't understand that rationale. > This Alix has no on-board audio but I have unused external audio > interfaces from my bygone DJ days, some clearly overkill but none with > built-in mp3 decoder: > > USB 1.0 tiny Roland UA-1A 2-in/2-out, 16bit @ 48 kHz (2001) > USB 2.0 Roland UA-101 10-in/10-out, optical in/out, 24-bit @ 192 kHz (2005) > USB 2.0 M-Audio FastTrack Pro 4-in/4-out, coax in/out, 16-bit @ 96 kHz Just what I was going to say, use any uaudio(4) device. > For play/stop & next controls I'd use a small USB gamepad-type or MIDI > controller, That looks like the most difficult part, because offhand I have no idea how to interface those input devices with a tty. > I cycle between 3 hardcoded stations using 128kbps CBR so that's the only > codec I need. > > - what's the most nimble stream+mp3 solution? mpg123 is probably the fastest one, although all of them will be fast enough. With sndiod disabled, mpg123 playing a 128 kbps stream takes about 6% CPU on a Geode 500 MHz. Double that if you need or want to run sndiod. Playing 192 or 256 kbps streams makes barely any difference. > - are there AMD Geode-specific instructions it can be recompiled with? mpg123 actually comes with hand-crafted optimizations for a variety of x86 instruction set extensions. It automatically picks an appropriate one at run time. On the Geode, it defaults to the 3DNowExt decoder. But really, the Geode is already too fast for this to matter much. -- Christian "naddy" Weisgerber [email protected]

