Re: /dev/dsp

From: Nils Faerber <nils.a.t.kernelconcepts.de>
Date: Mon May 19 2003 - 12:29:07 EDT

On Mon, 19 May 2003 18:25:52 +0200
bfranc5@libero.it <bfranc5@libero.it> wrote:
> Hi,
Hello!

> I have an h3600; if I entry with root direcly on ipaq I can't use
> /dev/dsp. if I use minicom, and I make the login with minicom, I
> can use /dev/dsp. Whi?
> how can I use /dev/dsp directy on the ipaq?
>
> comand:
> audio_fd=open("/dev/dsp",O_RDWR,0);
> read(audio_fd,audio_buffer,count);
>
> on the display appears
> device or resource busy

Because we use the enlightenment sound daemon (esd) under GPE. This
program opens the device upon login via the gpe-dm. This enables
multiple applications to use the sounddevice at the same time.
So if you want to write sound code please consider using libesd.

> thanks
> francesca
CU
  nils faerber

-- 
kernel concepts          Tel: +49-271-771091-12
Dreisbachstr. 24         Fax: +49-271-771091-19
D-57250 Netphen          D1 : +49-170-2729106
--
Received on Mon May 19 16:29:42 2003

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:41:31 EDT