On 19.12.2014 04:28, Alfonso Sabato Siciliano wrote:
hello, I am willing to know the sound system of OpenBSD,
so I started to read the manpages.
I summarized with a graph below, it is right?

You may want to read these two as well

http://www.openbsd.org/papers/asiabsdcon2010_sndio_slides.pdf
http://www.openbsd.org/papers/asiabsdcon2010_sndio.pdf



sndio(7): The sndio audio and MIDI system provides
access to audio and MIDI hardware and to services
provided by sndiod, summarized below.

   |------|     |------|             |------|
   | app1 |     | app2 |    ....     | appN |
   |------|     |------|             |------|
      |            |                     |
     \|/          \|/                   \|/
|-----------------------------------------------|
|                    sndio.h                    |
|           sio_open(3)/mio_open(3)             |
| interface to audio devices and MIDI streams   |
|-----------------------------------------------|
                        |
                       \|/
    |---------------------------------------|
    |               sndiod(1)               |
    |           audio/midi server           |
    |---------------------------------------|
               |                   |
              \|/                 \|/
     |--------------------|  |-------------|
     |       audio(4)     |  |   midi(4)   |
     | device-independent |  | raw device  |
     |    driver layer    |  | independent |
     |--------------------|  |  interface  |
                |            |-------------|
                |                   |
               \|/                 \|/
       |---------------------------------|
       |    device dependent driver      |
       |   (azalia(4), ac97(4), ...)     |
       |---------------------------------|
                        |
                       \|/
    |--------------------------------------|
    |       [audio]            [MIDI]      |
    |                                      |
    |              Hardware                |
    |--------------------------------------|

Regards Alfonso

----------------------
Alfonso Sabato Siciliano <[email protected]>

Reply via email to