Alexandre Ratchov
|
cac23d61dc
|
use a copy of the slowaccept flag, as it may change within the
poll() loop
|
2015-12-15 12:28:23 +01:00 |
Alexandre Ratchov
|
c77ea93344
|
Make sndio buildable on NetBSD, from Kamil Rytarowski <n54 at gmx.com>
|
2015-12-15 06:28:05 +01:00 |
Alexandre Ratchov
|
2327821cf0
|
reset slowaccept upon socket close
|
2015-12-09 11:24:15 +01:00 |
Alexandre Ratchov
|
fc179fb0c0
|
inline privdrop()
|
2015-12-09 11:23:55 +01:00 |
Alexandre Ratchov
|
91166d3abf
|
remove -M from getopt() string
|
2015-12-09 11:16:35 +01:00 |
Alexandre Ratchov
|
7530bbf6d2
|
Pass full device name to audio/midi backends.
|
2015-12-09 11:13:11 +01:00 |
Alexandre Ratchov
|
a04c34288e
|
define port_log() if no -DDEBUG is defined
|
2015-11-25 20:54:22 +01:00 |
Alexandre Ratchov
|
8e6aa1db1f
|
say -L is unencrypted
|
2015-11-25 20:52:31 +01:00 |
Alexandre Ratchov
|
3100560d01
|
listen -> listen on; from Jan Stary
|
2015-11-25 20:51:50 +01:00 |
Alexandre Ratchov
|
276b44ece4
|
save & restore umask when creating socket dir
|
2015-11-25 20:50:17 +01:00 |
Alexandre Ratchov
|
c8a50a21ea
|
add port numbers
|
2015-11-25 20:49:09 +01:00 |
Alexandre Ratchov
|
d4cea96993
|
use stored d->num, in search for devices
|
2015-11-25 20:48:47 +01:00 |
Alexandre Ratchov
|
a17c9dfc55
|
missing prototype
|
2015-11-25 20:47:52 +01:00 |
Alexandre Ratchov
|
66ca92689e
|
stop mmc in dev_done, releasing ref to the device
|
2015-11-25 20:46:03 +01:00 |
Alexandre Ratchov
|
8bb88f248f
|
if no -f or -q are used, attach rsnd/[0-3] and rmidi/[0-7]
|
2015-10-20 15:25:54 +02:00 |
Alexandre Ratchov
|
56540a0d18
|
unexpand $OpenBSD$
|
2015-10-20 09:16:31 +02:00 |
Alexandre Ratchov
|
bbfde03621
|
please gcc
|
2015-10-20 09:15:09 +02:00 |
Alexandre Ratchov
|
4d72d01c2c
|
remove unnecessary macros from michael reed
|
2015-10-20 09:11:34 +02:00 |
Alexandre Ratchov
|
8575b870d1
|
spacing
|
2015-10-02 15:05:43 +02:00 |
Alexandre Ratchov
|
5d431d3616
|
Replace hard-coded strings with macros, replace PATH_MAX with actual
string length, validate audio and midi device numbers
|
2015-10-02 14:28:17 +02:00 |
Alexandre Ratchov
|
0a39548f4d
|
use SOCKPATH_xxx macros
|
2015-10-02 14:26:46 +02:00 |
Alexandre Ratchov
|
d91596856b
|
typo
|
2015-10-01 08:51:48 +02:00 |
Alexandre Ratchov
|
6ddedf6c9f
|
remove unused AUCAT_COOKIE environment variable
|
2015-10-01 08:50:13 +02:00 |
Alexandre Ratchov
|
7062d226ac
|
remove useless quoting and fix typos, from schwarze@
|
2015-10-01 08:49:47 +02:00 |
Alexandre Ratchov
|
ed060a659e
|
Add --with-libbsd to use libbsd for strlcpy, strlcat and strtonum. From
Peter Piwowarski <peterjpiwowarski at gmail.com>. Thanks.
|
2015-09-09 19:32:30 +02:00 |
Alexandre Ratchov
|
f2b6fd9f4b
|
s/xfree/free in comments
|
2015-09-05 13:18:04 +02:00 |
Alexandre Ratchov
|
ebed8a554c
|
leave -'s in literals
|
2015-09-02 08:28:10 +02:00 |
Alexandre Ratchov
|
ad93cbcd12
|
fix example (>/dev/null required to drop output)
|
2015-08-30 20:14:58 +02:00 |
Alexandre Ratchov
|
e0489782f6
|
scape "-" with backslash, from Peter Piwowarski <peterjpiwowarski at
gmail.com>
|
2015-08-30 19:36:58 +02:00 |
Alexandre Ratchov
|
7bd2439992
|
unbreak configure script: missing xvolkeys and sndioctl
|
2015-08-30 11:39:09 +02:00 |
Alexandre Ratchov
|
a162cfd9e6
|
remove mixer api files
|
2015-08-28 09:03:49 +02:00 |
Alexandre Ratchov
|
1e958d6853
|
move the mixer api to a dedicated "mixer" branch
|
2015-08-28 08:59:59 +02:00 |
Alexandre Ratchov
|
e8007feb00
|
move the mixer api to a dedicated "mixer" branch
|
2015-08-28 08:57:47 +02:00 |
Alexandre Ratchov
|
0ab68bae61
|
comment that -1 means infinite timeout
|
2015-08-27 09:40:50 +02:00 |
Alexandre Ratchov
|
9c5df51422
|
man page: we use devices, not midi ports
|
2015-08-26 13:01:50 +02:00 |
Alexandre Ratchov
|
eb8224b11c
|
update labels dynamically
|
2015-08-26 12:49:39 +02:00 |
Alexandre Ratchov
|
293133ebdf
|
copy label name in dev_add()
|
2015-08-26 12:22:06 +02:00 |
Alexandre Ratchov
|
9ff8e621d0
|
typos in comments and strings
|
2015-08-26 10:27:22 +02:00 |
Alexandre Ratchov
|
366e464abc
|
add Description in init.d startup script. From Peter
Piwowarski <peterjpiwowarski at gmail.com>
|
2015-08-25 15:24:53 +02:00 |
Alexandre Ratchov
|
51f6116e12
|
Hide symbols provided by bsd-compat functions by prefixing them
by _sndio_.
|
2015-08-25 15:02:02 +02:00 |
Alexandre Ratchov
|
c96282f412
|
Use DEAMON_OPTS, defined in /etc/default/sndiod, in the init.d
script. Without this, /etc/default/sndiod was ignored. From
Peter Piwowarski <peterjpiwowarski at gmail.com>, thanks!
|
2015-08-25 10:56:46 +02:00 |
Alexandre Ratchov
|
fd7c03518f
|
use lseek to fill with silence
|
2015-08-23 17:03:02 +02:00 |
Alexandre Ratchov
|
dbebd9982f
|
Fix typos, from Peter Piwowarski <peterjpiwowarski at gmail.com>
|
2015-08-13 17:37:45 +02:00 |
Alexandre Ratchov
|
30c199e808
|
Don't call poll(2) with few millisecond time-out argument when -1
could be used. Avoids syscalls when the daemon is not being used.
|
2015-08-11 19:49:07 +02:00 |
Alexandre Ratchov
|
29516de2c3
|
Use "Ev" macro for AUCAT_COOKIE environment variable. From Michael
Reed <m.reed at mykolab.com>. Thanks.
|
2015-08-01 12:31:36 +02:00 |
Alexandre Ratchov
|
92995a97e0
|
delete timeout on close, log disconnects
|
2015-07-31 17:46:15 +02:00 |
Alexandre Ratchov
|
4063b8217c
|
crank watchdog timeout to 4 seconds
|
2015-07-31 17:44:04 +02:00 |
Alexandre Ratchov
|
5edf525314
|
switch to now AUDIO_GETPOS interface
|
2015-07-31 17:35:54 +02:00 |
Alexandre Ratchov
|
4ca9db857c
|
Process polled files in two steps: first files that need immediate
handling, which would block.
|
2015-07-20 12:09:53 +02:00 |
Alexandre Ratchov
|
2d77ef48f3
|
rename nfds to max_nfds, no object change
|
2015-07-17 11:51:31 +02:00 |