Re: OpenBSD sound system

2014-12-19 Thread Alfonso Sabato Siciliano
I have update the graph about the sound system

On Fri, 19 Dec 2014 14:38:49 +0100
Alexandre Ratchov a...@caoua.org wrote:

 Yes this is right. Note that pograms can bypass sndiod seamlessly
 and use sio_xxx and mio_xxx functions to connect directly to the
 audio(4) and midi(4) layers.  This is determined at runtime by
 sio_open() and mio_open() arguments and/or environment variables.

and I have added the border between userspace and kernelspace 
(I hope it is right now).




   |--| |--| |--|
   | app1 | | app2 | | appN |
   |--| |--| |--|
  || |
 \|/  \|/   \|/
|---|
|sndio.h|
|   sio_open(3)/mio_open(3) |
| interface to audio devices and MIDI streams   |
|---|
   ||  |
   |   \|/ | 
   ||---|  |
   ||sndiod(1)  |  |
   ||   audio/midi server   |  |
   ||---|  |
   ||| |  User
   ||| |  space
-
   ||| |  Kernel
   ||| |  space
  \|/  \|/  \|/   \|/
   ||   |-|
   | 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 alfi...@gmail.com



OpenBSD sound system

2014-12-18 Thread Alfonso Sabato Siciliano
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?


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 alfi...@gmail.com



OpenBSD images and songs

2013-05-02 Thread Alfonso Sabato Siciliano
hi,
I am writing a game dedicated at Puffy (OpenBSD' mascotte):
Super Sub Puffy.
The license of the game is the ISC [0].
Can I use images [1] and songs [2]?

[0]http://en.wikipedia.org/wiki/ISC_license
[1]http://www.openbsd.org/art1.html
[2]http://www.openbsd.org/lyrics.html

Regards,
Alfonso


Alfonso Sabato Siciliano alfi...@gmail.com