#
79256953 |
| 07-Nov-2021 |
ratchov <ratchov@openbsd.org> |
Allow -current libsndio to connect to old sndiod servers
Recent sndio device naming change is missing the proper compatibility bits for this case. Found and fixed by bluhm@ and tweaks from me.
ok b
Allow -current libsndio to connect to old sndiod servers
Recent sndio device naming change is missing the proper compatibility bits for this case. Found and fixed by bluhm@ and tweaks from me.
ok bluhm
show more ...
|
#
36355b88 |
| 01-Nov-2021 |
ratchov <ratchov@openbsd.org> |
Stop binding audio devices exposed by sndiod to physical devices
This a shift towards a new model: clients connect to logical devices (created with -s option) then the server routes data to/from the
Stop binding audio devices exposed by sndiod to physical devices
This a shift towards a new model: clients connect to logical devices (created with -s option) then the server routes data to/from the underlying physical device (registered with -f option). The binding may be changed at run-time with the server.device control exposed by sndioctl(1).
As audio devices exposed by sndiod(8) are not bound to fixed physical devices anymore, the physical audio device number component of sndio(7) descriptors was removed.
fixes, help from and ok denis, edd
show more ...
|
#
2988007f |
| 12-Jul-2019 |
ratchov <ratchov@openbsd.org> |
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 re
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.
show more ...
|
#
95d14907 |
| 29-Jun-2019 |
ratchov <ratchov@openbsd.org> |
Check if syscalls return -1 instead of any negative value.
"Looks right" deraadt
|
#
c2d43eca |
| 28-Jun-2019 |
deraadt <deraadt@openbsd.org> |
mkstemp() returns -1 on failure
|
#
14d6d4a2 |
| 28-Mar-2019 |
ratchov <ratchov@openbsd.org> |
Wait until server disconnects before closing the socket. Otherwise, last bytes sent may be lost by the server.
|
#
8522ebc4 |
| 26-Sep-2018 |
miko <miko@openbsd.org> |
call _sndio_parsenum() instead of duplicating the code in parsedev(); ok ratchov@
|
#
096da69d |
| 28-Jul-2018 |
ratchov <ratchov@openbsd.org> |
Move libsndio session cookie in its own $HOME/.sndio/ directory to make libsndio easier to use with unveil(2).
"make sense" deraadt
|
#
e8cc0bfd |
| 09-Jan-2016 |
ratchov <ratchov@openbsd.org> |
Make code fit in 80 columns, remove trailing spaces & tabs.
|
#
23cba96e |
| 23-Dec-2015 |
mmcc <mmcc@openbsd.org> |
remove NULL-checks before free()
|
#
163486f8 |
| 22-Nov-2015 |
ratchov <ratchov@openbsd.org> |
Don't remove the type component from the device string before passing it to the *_open() functions. It's more flexible this way. No behaviour change.
|
#
9790449a |
| 05-Oct-2015 |
ratchov <ratchov@openbsd.org> |
Fix missing checks for truncation of long file names. Rather than checking for truncation every time we touch the string, simply allocate a memory chunk large enough to store the full path.
|
#
59d9d051 |
| 02-Oct-2015 |
ratchov <ratchov@openbsd.org> |
use macros for cookie path and temp file template instead of hardcoded strings. no object change.
|
#
dadd32d9 |
| 02-Oct-2015 |
ratchov <ratchov@openbsd.org> |
As the socket path is known, use its size rather that PATH_MAX.
|
#
000d99ea |
| 02-Oct-2015 |
ratchov <ratchov@openbsd.org> |
use macros instead of hard-coded strings for unix sockets paths
|
#
217983a9 |
| 01-Oct-2015 |
ratchov <ratchov@openbsd.org> |
Remove support for the AUCAT_COOKIE environment variable.
|
#
b90e880f |
| 05-May-2015 |
jsg <jsg@openbsd.org> |
add missing braces in _aucat_wmsg()
As ratchov@ notes: "all _aucat_wmsg() callers set hdl->wtodo, so your diff can't break things that used to work by accident."
ok ratchov@
|
#
80ae68c4 |
| 07-Sep-2014 |
guenther <guenther@openbsd.org> |
Use SOCK_CLOEXEC (instead of later using fcntl(F_SETFD)) when creating sockets for talking to aucat/sndiod
ok ratchov@
|
#
e791f9ef |
| 20-Dec-2013 |
ratchov <ratchov@openbsd.org> |
Be less verbose when SNDIO_DEBUG=1 is set.
|
#
fcda7a7e |
| 18-Nov-2013 |
ratchov <ratchov@openbsd.org> |
add missing prototypes
|
#
d418f94b |
| 13-Nov-2013 |
ratchov <ratchov@openbsd.org> |
Prefix by '_' symbols that are not part of the API.
ok deraadt, guenther
|
#
122afd1d |
| 12-Nov-2013 |
deraadt <deraadt@openbsd.org> |
internalize some functions so that they do not need prototypes ok ratchov
|
#
8d9cf1e0 |
| 13-Mar-2013 |
ratchov <ratchov@openbsd.org> |
in debug mode, log successful connections, from Jan Stary
|
#
87bc9f6a |
| 23-Nov-2012 |
ratchov <ratchov@openbsd.org> |
Remplace aucat server by a new sndiod daemon aimed to be simpler smaller and faster than aucat. It's a drop in replacement with the following exceptions that don't affect the default setup: - The s
Remplace aucat server by a new sndiod daemon aimed to be simpler smaller and faster than aucat. It's a drop in replacement with the following exceptions that don't affect the default setup: - The sample rate and the encoding are a per-device parameters thus -r and -e options must precede the corresponding -f option - MIDI thru boxes are dynamically created and no -M option is required anymore, so -M was removed. - MIDI ports are exposed with a new ``midi/N'' name, rather than abusing MIDI thru boxes. with help from armani@, ok deraadt@
show more ...
|
#
5ffd5747 |
| 02-Nov-2012 |
ratchov <ratchov@openbsd.org> |
Use dedicated messages for flow control instead of abusing clock tick messages and enable flow control for MIDI. Since this requires protocol version bump, both sndiod and libsndio must be kept up to
Use dedicated messages for flow control instead of abusing clock tick messages and enable flow control for MIDI. Since this requires protocol version bump, both sndiod and libsndio must be kept up to date to work together.
show more ...
|