sndiod: Attach client at the same position, regardless the device mode
authorratchov <ratchov@openbsd.org>
Wed, 28 Apr 2021 05:10:29 +0000 (05:10 +0000)
committerratchov <ratchov@openbsd.org>
Wed, 28 Apr 2021 05:10:29 +0000 (05:10 +0000)
commitf51cdaac94bf0c317ed18c78116709267d5b90d6
tree89add13d8d169c49c4443ea7c0c6891a4999aeab
parentaf42dcefafdb2ab2a800d02d4509ace42fb5a50a
sndiod: Attach client at the same position, regardless the device mode

This is necessary to make rec-only devices properly work in
full-duplex. Fixes full-duplex clients stuck on rec-only device.
usr.bin/sndiod/dev.c