sndiod: Hide "hardware" device's server.device control.
authorratchov <ratchov@openbsd.org>
Fri, 24 May 2024 15:01:53 +0000 (15:01 +0000)
committerratchov <ratchov@openbsd.org>
Fri, 24 May 2024 15:01:53 +0000 (15:01 +0000)
commit95096bd8781e86b456a076e1d90a865eeaca788e
tree4165d3950aceae04708e8fa4ab2e1cb43e66ee94
parent53c84758961528d0d8b0cf6ae9525d8f1f488aa1
sndiod: Hide "hardware" device's server.device control.

If sndiod is using another sndiod instance instead of the bare
hardware, then it must disable the underlying server.device
control to avoid conflicts with its own server.device control.
usr.bin/sndiod/dev.c