Up to [local] / src / usr.bin / sndiod
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_5_4_BASE
Revision 1.2 / (download) - annotate - [select for diffs], Fri Nov 30 20:48:00 2012 UTC (11 years, 6 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE,
OPENBSD_5_5,
OPENBSD_5_4_BASE,
OPENBSD_5_4,
OPENBSD_5_3_BASE,
OPENBSD_5_3
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)
For MIDI ports, use the same open/close logic as for audio devices: drop clients using it when the port is closed (eg. umidi disconnected) and try to reopen it whenever a new client connects.