Alexandre Ratchov
|
f997f10b0e
|
fix interface to poll(2)
|
2012-09-20 11:00:31 +02:00 |
|
Alexandre Ratchov
|
e451d47880
|
Don't read the xrun counter before the offset in the audio ring,
otherwise we'd open a tiny time window during which a xrun may occur
in turn making the sio_onmove() clock wrong during one tick.
|
2012-09-15 01:35:39 +02:00 |
|
Alexandre Ratchov
|
25e3fe8839
|
remove wsil() and rdrop()
|
2012-09-05 10:05:48 +02:00 |
|
Alexandre Ratchov
|
9ca454512a
|
align writes to block size
|
2012-09-02 16:41:27 +02:00 |
|
Alexandre Ratchov
|
759c751cfd
|
include types.h rather that param.h, use unsigned for magic
|
2012-08-30 10:06:09 +02:00 |
|
Alexandre Ratchov
|
6c0895ba37
|
alsa has no volume knob
|
2012-05-29 18:59:39 +02:00 |
|
Alexandre Ratchov
|
16a36fa53e
|
make "default" a valid device name
|
2012-05-23 21:26:54 +02:00 |
|
Alexandre Ratchov
|
7f08f4d1fd
|
dont use the symlink
|
2012-05-10 11:08:05 +02:00 |
|
Alexandre Ratchov
|
1247c187a7
|
s/unsigned/unsigned int/g, requested by deraadt
|
2012-04-11 09:21:29 +02:00 |
|
Alexandre Ratchov
|
f1b72a401e
|
tweaks from jmc
|
2012-03-22 09:39:06 +01:00 |
|
Alexandre Ratchov
|
0e45cc33c4
|
s/transfered/transferred, from tobiasu
|
2012-03-22 09:38:14 +01:00 |
|
Alexandre Ratchov
|
073a090888
|
move server specific bits into new sndiod daemon
|
2011-12-09 23:49:26 +01:00 |
|
Alexandre Ratchov
|
1b0a15aba0
|
better parsetype routine
|
2011-11-11 10:41:18 +01:00 |
|
Alexandre Ratchov
|
96f647d64d
|
strncmp() can't be used to parse device type, add our own routine
|
2011-11-10 10:43:31 +01:00 |
|
Alexandre Ratchov
|
4e44c01026
|
tweaks from jmc
|
2011-11-09 09:35:18 +01:00 |
|
Alexandre Ratchov
|
d41324905f
|
re-add forgotten argument to .Xr
|
2011-11-08 20:13:39 +01:00 |
|
Alexandre Ratchov
|
c8f20fb97f
|
make devnum mandatory
|
2011-11-08 09:32:00 +01:00 |
|
Alexandre Ratchov
|
d0bc800ea8
|
unbreak alsa
|
2011-11-03 13:23:17 +01:00 |
|
Alexandre Ratchov
|
17743923b8
|
merge obsd man page changes
|
2011-11-01 18:01:52 +01:00 |
|
Alexandre Ratchov
|
1d71c4a2fa
|
stop using and duplicating ISSEP() macro
|
2011-11-01 17:30:39 +01:00 |
|
Alexandre Ratchov
|
33d6a705fd
|
factor device name parsing code
|
2011-11-01 16:56:37 +01:00 |
|
Alexandre Ratchov
|
e4ef0dc8d9
|
switch to type@hostname,unit/num.opt device names
|
2011-11-01 13:02:13 +01:00 |
|
Alexandre Ratchov
|
dc2884ed7d
|
Don't attempt to send data not available for sending yet. Analysed
and fixed by Remco <remco at d-compu.dyndns.org>, thanks!
|
2011-10-22 16:29:20 +02:00 |
|
Alexandre Ratchov
|
8c514d82b6
|
remove midicat
|
2011-10-18 00:29:58 +02:00 |
|
Alexandre Ratchov
|
edb571c12e
|
tweaks from jmc
|
2011-10-05 14:06:44 +02:00 |
|
Alexandre Ratchov
|
979c909719
|
handle EINTR returned by connect()
|
2011-10-05 13:12:21 +02:00 |
|
Alexandre Ratchov
|
8a01f1f248
|
remove unused vars
|
2011-06-30 00:43:27 +02:00 |
|
Alexandre Ratchov
|
9429404049
|
one midicat server can export multiple midithru ports
|
2011-06-03 20:58:04 +02:00 |
|
Alexandre Ratchov
|
1b055c6da6
|
don't forget to send the initial clock tick
|
2011-06-03 20:14:07 +02:00 |
|
Alexandre Ratchov
|
2f94e45ccd
|
add random_bytes() function, used when arc4random() is not available
|
2011-05-23 13:40:50 +02:00 |
|
Alexandre Ratchov
|
1b9b1c16b8
|
decrease SIO_MAXNFDS to what alsa needs
|
2011-05-09 19:29:04 +02:00 |
|
Alexandre Ratchov
|
6b44a56017
|
use "period event" for recording
allocate paramters on the stack in sio_alsa_setpar()
|
2011-05-07 19:56:25 +02:00 |
|
Alexandre Ratchov
|
67ac528d10
|
handle EAGAIN, link in sio_start() and unlink in sio_stop()
|
2011-05-07 01:32:20 +02:00 |
|
Alexandre Ratchov
|
c7fa24cb75
|
handle the case nfds > 1
|
2011-05-06 20:04:34 +02:00 |
|
Alexandre Ratchov
|
8e920de252
|
link the .so file with -lasound, otherwise we get the
wrong alsa library
|
2011-05-06 19:15:16 +02:00 |
|
Alexandre Ratchov
|
8e25c4c95f
|
include "bsd-compat.h" unconditionally
|
2011-05-06 14:11:18 +02:00 |
|
Alexandre Ratchov
|
5f53917840
|
remove getpeereid
|
2011-05-06 13:12:01 +02:00 |
|
Alexandre Ratchov
|
8d6ff70519
|
connect to the build strlcat
|
2011-05-06 12:48:47 +02:00 |
|
Alexandre Ratchov
|
9e553c03a8
|
import strlcat
|
2011-05-06 12:47:34 +02:00 |
|
Alexandre Ratchov
|
6a44b85b6c
|
verify prefix length
|
2011-05-06 12:17:33 +02:00 |
|
Alexandre Ratchov
|
32be87eead
|
make the code shorter: use an array of backend structures and
iterate over it rather than inlining calls to sio_<backend>_open
|
2011-05-06 12:14:48 +02:00 |
|
Alexandre Ratchov
|
681cac6593
|
don't read past the cookie end
|
2011-05-06 12:12:25 +02:00 |
|
Alexandre Ratchov
|
190f1913a1
|
drop support for lagacy device names
|
2011-05-04 09:14:43 +02:00 |
|
Alexandre Ratchov
|
7c836dac01
|
move default device handling in backend code
|
2011-05-03 22:07:30 +02:00 |
|
Alexandre Ratchov
|
11699e1db3
|
rename "hw" -> "alsa"
|
2011-05-03 21:50:54 +02:00 |
|
Alexandre Ratchov
|
ceeca19277
|
remove unused defs (recommit)
|
2011-05-01 15:39:29 +02:00 |
|
Alexandre Ratchov
|
134bc5d779
|
convert messages headers to network byte order to allow
client and server with different byte orders to work
|
2011-05-01 15:29:56 +02:00 |
|
Alexandre Ratchov
|
32a1e3d36e
|
use TCP_NODELAY
|
2011-04-28 08:10:14 +02:00 |
|
Alexandre Ratchov
|
a583ebc5d9
|
simplify conditionals in aucat_mkcookie()
|
2011-04-28 01:31:15 +02:00 |
|
Alexandre Ratchov
|
cc099911f6
|
sort macros
|
2011-04-28 00:57:59 +02:00 |
|