CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2024/05/02 23:18:09

Modified files:
        usr.bin/sndiod : midi.c midi.h sndiod.c 

Log message:
sndiod: Fix SIGHUP to reopen the devices in priority order

With this commit, SIGHUP makes sndiod discover new devices and if
there is a new device with higher priority (greater -F option number)
than the current one, sndiod switches to it.  If the current device is
already the one with the highest priority (i.e. last -F), then SIGHUP
does nothing.

Reply via email to