CVSROOT: /cvs Module name: src Changes by: ratc...@cvs.openbsd.org 2009/07/25 02:44:27
Modified files: include : sndio.h lib/libsndio : Makefile aucat.c shlib_version sio_open.3 sndio.c sun.c usr.bin/aucat : Makefile abuf.h amsg.h aproc.c aproc.h aucat.1 aucat.c conf.h file.c file.h listen.c listen.h pipe.c safile.c sock.c sock.h Added files: lib/libsndio : mio.c mio_open.3 mio_priv.h mio_rmidi.c mio_thru.c usr.bin/aucat : midi.c midi.h midicat.1 miofile.c miofile.h opt.c opt.h Log message: Currently midi capable programs can control midi hardware, but cannot cooperate with other programs. The aim of this change is to allow any program to send midi data to other programs as they were midi hardware. For instance, this change should solve the longstanding problem of using a midi sequencer with software synthesizers. More precisely: - new midicat(1) utility (actually hardlink to aucat(1)). it creates software midi thru boxes, allowing programs to send midi messages to other programs as they were midi(4) hardware. - new midi api in libsndio (see mio_open(3)), to access midi(4) devices and midicat(1) sockets in a uniform way. - new device naming scheme <service>:<unit>[.<option>], common to audio and midi. - new sndio(7) manual describing concepts and naming The current audio device naming still works, but people having scripts or configuration files containing device names could read the sndio(7) man page and slowly start updating device names. discussed with jakemsr@ and deraadt@, help form jmc@