Re: [LAD] reading and writing to /dev/dsp

From: Lennart Poettering <mzynq@email-addr-hidden>
Date: Thu Jul 23 2009 - 17:01:07 EEST

On Thu, 23.07.09 09:38, Paul Davis (paul@email-addr-hidden) wrote:

>
> On Thu, Jul 23, 2009 at 8:49 AM, Girish
> Hilage<girish_hilage@email-addr-hidden> 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
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Thu Jul 23 20:15:03 2009

This archive was generated by hypermail 2.1.8 : Thu Jul 23 2009 - 20:15:03 EEST