mirror of https://github.com/ericonr/sndio.git
Mirror of portable sndio repository
https://www.sndio.org
285eafeec0
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. |
||
---|---|---|
aucat | ||
bsd-compat | ||
contrib | ||
examples | ||
libsndio | ||
midicat | ||
sndiod | ||
.gitignore | ||
Makefile.in | ||
configure |