[lug] Capturing a data stream

Michael D. Hirsch mhirsch at nubridges.com
Thu Oct 9 14:42:24 MDT 2003


On Wednesday 08 October 2003 11:46 pm, Ed Meyer wrote:
> Hey everybody,
>
> Its been a while since I've had to post a question - but that doesn't mean
> I haven't learned a lot from lurking on this list.  My current dilemma has
> me quite stumped but since everything is possible in Linux I'm sure I'm
> just looking easily through the answer.
>
> Is there a way to capture a stream of data as its heading to a device to
> divert it?  In particular - I'm working for a company which makes products
> for the broadcast (radio) market and we want to be able to capture the data
> stream heading for the audio card and divert it for analysis / debugging /
> monitoring.  

I'm pretty certain that if you use the alsa sound driver there are some built 
in hooks to capture the sound as it leaves the driver.  I also know that if 
you buy the commercial OSS compatible drivers from 4-front they offer this 
capability.

Last I heard 4front was getting out of the sound driver business, though.  
They are the guys who first wrote the Linux sound drivers who then went pro.

Michael




More information about the LUG mailing list