Subject: Re: /dev/dsp device specs
To: Mike Long <>
From: Peter Berg <>
List: tech-kern
Date: 03/08/1997 21:37:00
> >From: Peter Berg <>
> >Date: Sat, 08 Mar 1997 12:28:13 +0100
> >I'm about to implement the /dev/dsp device for the arm32 port of netbsd. This 
> >driver is based on a (not yet available) professional digital audio card for 
> >the RiscPC. But for this I need the specifications of the original Sun 
> >/dev/dsp device. Can someone please give me an advice where I can get them 
> >from ?
> SunOS had no /dev/dsp device; it had /dev/audio.  /dev/dsp is the
> creation of Linux (now OSS) sound code.  Which of the two are you
> planning to implement?

The device will support digital audio in the following formats

4 Channel 16 bit
8 Channel 16 bit          - All fully Duplex of course
8 Channel 20 bit
8 Channel A-DAT
2 Channel 16 bit S/PDIF

output either as raw data (unprocessed stream output) or as Sun audio file 
containing only the audio data, but with the given resolution and number of 
channels. Additionaly the device will have support for DSP executables 
embedded in a Sun audio file.
The device will be a gateway too to the DSP and the TDM bus.
All *.snd files copied to this device will be converted on the fly into 
44.1kHz/16bit and played out to the digital or analog outputs of the card.

Because the Sun audio format supports DSP executables I thought the dsp device 
was a sun thing.

As far as I know, the /dev/audio device is partialy implemented in NetBSD.
What are the diffrences between /dev/dsp and /dev/audio ?

Ciao, Peter

|                                                                          |
|                            >>> FutureGroove <<<                          |
|                                                                          |
| Peter Berg                                       Music production &      |
|                                                  softwaredevelopment     |
| w3:                                  |
| email:                                      |
|                                           part time system administrator |
|                                                   at * |