[fpc-pascal] Audio development and /dev/dsp

ik idokan at gmail.com
Fri Sep 28 22:09:02 CEST 2007


On 9/28/07, Micha Nelissen <micha at neli.hopto.org> wrote:
> ik wrote:
> > lsof does not give me any open access to the device.
> >
> > I'm using Kubunto 7.04 amd64.
>
> Buggy audio driver ? Does it work properly when using ALSA, aplay etc. ?

Yes, with ALSA I do not have any problems. It seems that after several
opening and closing of /dev/dsp, it become busy, for a while, until it
free itself.

I'm opening /dev/dsp like so:
fpOpen('/dev/dsp', O_WRONLY or O_NONBLOCK, 0)

>
> Micha


Ido
-- 
http://ik.homelinux.org/



More information about the fpc-pascal mailing list