[LAD] reading and writing to /dev/dsp

Paul Davis paul at linuxaudiosystems.com
Thu Jul 23 12:20:15 UTC 2009


On Thu, Jul 23, 2009 at 6:09 AM, Girish
Hilage<girish_hilage at persistent.co.in> 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?



More information about the Linux-audio-dev mailing list