CVSROOT:        /cvs
Module name:    src
Changes by:     ratc...@cvs.openbsd.org 2011/11/15 01:05:22

Modified files:
        lib/libsndio   : amsg.h aucat.c aucat.h debug.c debug.h mio.c 
                         mio_aucat.c mio_priv.h mio_rmidi.c sio.c 
                         sio_aucat.c sio_sun.c sndio.7 
        usr.bin/aucat  : aucat.1 aucat.c dev.c dev.h opt.c opt.h sock.c 

Log message:
Add a "device number" component in sndio(7) device names, allowing a
single aucat instance to handle all audio and MIDI services. Since
this partially breaks compatibility, this is a opportunitiy to fix few
other design mistakes (eg ':' being used by inet6, type name vs api
name confusion, etc..). This leads to the following names:

type[@hostname][,unit]/devnum[.option]

The device number is the minor device number for direct hardware
access (ie the 'N' in /dev/audioN). For aucat, this is the occurence
number of the -f (or -M) option.

There's a compatibility hook to keep old names working if only one
aucat server is running.

Reply via email to