It has become fairly common to attach an FM tuner or other device to a
computer soundcard and use that then as the platform for recording FM
radio. For my part, I do this to allow both time- and location-shifting
of my radio listening. At the same time, devices such as the
Squeezebox from
Slim Devices or uPNP
clients such as the Philips Streamium provide
the infrastructure for moving digital audio (and video) around the home.
The problem arises, therefore, as to how to stream audio from a
soundcard to such devices, thus making it possible to listen to the same
audio in the living room, kitchen, bedroom, or wherever.
One approach is to install software packages such as
Icecast and
DarkIce. While there's nothing wrong
with this approach, these packages were designed for more demanding
streaming applications, and the configuration can seem a little daunting
to some potential users.
This page describes a very simple approach to soundcard streaming for
Unix-like operating systems including in particular
FreeBSD, other BSDs and Linux. What is described here is
so simple it barely warrants its own page. However, I have not seen it
described elsewhere.
Although the focus here is on streaming audio, I have used the same approach
for streaming live video from a video card — this requires only a
couple of very small changes to the approach described below.