Mirror of portable sndio repository https://www.sndio.org
Go to file
Alexandre Ratchov f29a76bc19 On error, drop clients and close the device only if it's still open
Fixes crashes when USB devices are disconnected, caused by an attempt
to close the already closed device: it was closed once when its ref
counter drops to zero (after the last client is disconnected) and once
with an explicit call to dev_close() on the error code-path.

The same pattern was used for MIDI ports, it's fixed as well.
2020-06-12 17:26:38 +02:00
aucat mixerctl and audioctl moved to section 8 2020-04-24 08:56:27 +02:00
bsd-compat Include bsd/bsd.h necessary if --with-libbsd is used 2020-03-13 19:06:18 +01:00
contrib add sndiod.service file for systemd-based systems 2017-09-18 19:42:31 +02:00
examples examples: add -n option to rec 2018-06-09 08:05:52 +02:00
libsndio Reword and simplify certain sentinces 2020-05-25 14:27:48 +02:00
midicat Check return values of syscalls against -1, from deraadt@. 2019-07-01 09:20:22 +02:00
sndioctl sndioctl: Print lists as comma separated nodes 2020-05-05 06:43:52 +02:00
sndiod On error, drop clients and close the device only if it's still open 2020-06-12 17:26:38 +02:00
.gitignore import from OpenBSD 2010-08-19 22:38:45 +02:00
Makefile.in Remove xvolkeys 2020-03-02 06:18:51 +01:00
configure Use _sndiop user on OpenBSD to access raw devices 2020-05-02 17:54:58 +02:00