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

From: Girish Hilage <girish_hilage@email-addr-hidden>
Date: Thu Jul 23 2009 - 15:49:52 EEST

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.)?

Regards,
Girish

-----Original Message-----
From: Paul Davis <paul@email-addr-hidden>
To: Girish Hilage <girish_hilage@email-addr-hidden>
Cc: linux-audio-dev@email-addr-hidden
<linux-audio-dev@email-addr-hidden>
Subject: Re: [LAD] reading and writing to /dev/dsp
Date: Thu, 23 Jul 2009 17:50:15 +0530

On Thu, Jul 23, 2009 at 6:09 AM, Girish
Hilage<girish_hilage@email-addr-hidden> wrote:
>
> Hi,
>
> I am running a .mp3 file using 'xine' without any issues on my Fedora Core 8
> machine.
>
> I am reading /dev/dsp and storing it in some file.
> i.e. cat /dev/dsp > musicfile
>
> Now I am stopping 'xine' and then writing 'musicfile' to /dev/dsp.
> i.e. cat musicfile > /dev/dsp
>
> In this case I can hear the music but with a lot of noise in it.
> Is there any way I can remove/reduce this noise from 'musicfile'?

what actual task are you attempting to accomplish?

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.

_______________________________________________
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 16:15:04 2009

This archive was generated by hypermail 2.1.8 : Thu Jul 23 2009 - 16:15:04 EEST