[LAD] reading and writing to /dev/dsp

Lennart Poettering mzynq at 0pointer.de
Thu Jul 23 14:01:07 UTC 2009


On Thu, 23.07.09 09:38, Paul Davis (paul at linuxaudiosystems.com) wrote:

> 
> On Thu, Jul 23, 2009 at 8:49 AM, Girish
> Hilage<girish_hilage at persistent.co.in> wrote:
> > Hi Paul,
> >
> >    Thanks for your reply.
> >
> >    The scenario is as follows :
> >    I have an FC8 machine and suppose my friend have a RH9 machine.
> >    I want to make him hear on his machine the song I am playing in 'xine' on
> > my system.
> >
> >    For that I have written a 'daemon' which listens for connections from
> > client and reads from /dev/dsp and writes to client.
> >    The 'client' I have written is running on RH9, which connects to the
> > daemon on FC8 and reads from it and writes to /dev/dsp on RH9.
> >
> >    On RH9 I can hear the song but with a lot of noise which I want to
> > eliminate.
> >    Can it be done using some other tool like (sox, play or padsp etc.)?
> 
> it would be nice if new software avoids the use of the OSS API
> (read/write/open/close with /dev/dsp) as much as possible. it may look
> like a perfectly reasonable way to write such a program to you, but
> the continued use of this API by new (and old) software is a major
> blocking factor to improving the state of audio on linux. please don't
> do this.

In fact Fedora 11 does not support OSS anymore (hwoever you can
reenable it via some minor hackery). I am expecting other distros will
follow soon.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the Linux-audio-dev mailing list