Page 1 of 1

[Solved] Support for /dev/dsp ?

Posted: 20 Apr 2014, 10:30
by Dave99
Hi all

I'm thinking of using the Kiosk Edition for an application that involves some cgi (via a webserver) that invokes sound clips that use /dev/dsp.
I could use the html 5 <audio> tag but the Bash scripts to play the sound clips already exist and I would like to keep them as is.
So my questions as follows:

1) Is there support for /dev/dsp in the latest Kiosk Edition?

2) Can anyone recommend a simple web server (with cgi support) ?

Thanks in advance and happy Easter to all those that celebrate it.

Dave.

Re: Support for /dev/dsp ?

Posted: 20 Apr 2014, 14:10
by fanthom
/dev/dsp is handled by OSS drivers in the kernel. OSS has been replaced by ALSA and ALSA in kiosk and even our desktop edition is compiled without legacy oss support.
any chance you could rewrite these scripts to use ALSA? have a look on this thread:
http://unix.stackexchange.com/questions ... th-dev-dsp

btw: please create threads related to the kiosk edition in it's section of the forum.
moving this one there.

Re: Support for /dev/dsp ?

Posted: 20 Apr 2014, 17:22
by Dave99
Hi fanthom

Thank you for the link, the snd-pcm-oss will allow the creation of /dev/padsp which will be a small change.

Sorry about posting in the wrong section.