Mirror of portable sndio repository https://www.sndio.org
Go to file
Alexandre Ratchov 285eafeec0 Add affinity between the program and its mixer control.
Currently, if there are two instances of the same program, sndiod will
allocate one volume control to each. If both programs disconnect and
reconnect, the information of which control is assigned to which
program is lost. This makes difficult to run two instances of a player
and crossfade between each other with a MIDI controller.

To address this, the program chooses a 32-bit "id" (for now the
process pid) and sends it to the server. The server records the id in
the client's slot structure.  When the server accepts a new
connection, it uses the id to identify the slot the client used during
the previous connection; if it was not recycled yet, it's assigned to
the program.
2019-07-12 08:31:01 +02:00
aucat Fix comments and few debug printfs in utils.c. 2019-07-02 08:09:31 +02:00
bsd-compat sndiod: use CLOCK_UPTIME when available 2018-03-18 14:38:27 +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 Add affinity between the program and its mixer control. 2019-07-12 08:31:01 +02:00
midicat Check return values of syscalls against -1, from deraadt@. 2019-07-01 09:20:22 +02:00
sndiod Add affinity between the program and its mixer control. 2019-07-12 08:31:01 +02:00
.gitignore import from OpenBSD 2010-08-19 22:38:45 +02:00
Makefile.in remove sndiod.service on distclean 2017-09-18 19:44:06 +02:00
configure Enable OSS and use SONAME on FreeBSD. 2018-01-15 18:26:10 +01:00