Alexandre Ratchov
924405f763
fix and add missing "auth" in debug strings
2011-05-01 15:34:21 +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
52d91a6fa6
remove deadcode, from Michael W. Bombardieri <mb at ii.net>
2011-04-28 09:17:18 +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
Alexandre Ratchov
ed4ef72326
conf.h needs signal.h
2011-04-28 00:48:24 +02:00
Alexandre Ratchov
b0d03532fc
use sig_atomic_t in signals
2011-04-28 00:41:43 +02:00
Alexandre Ratchov
5fdf55ede7
move amsg.h on libsndio side
2011-04-28 00:25:20 +02:00
Alexandre Ratchov
d12861225f
use mkstemp() and arc4random() to generate cookie
2011-04-28 00:15:11 +02:00
Alexandre Ratchov
8d0497a37b
sort env variables, rephrase. From jmc@
2011-04-27 21:17:27 +02:00
Alexandre Ratchov
2e3fe03333
test cookie perms
2011-04-27 09:45:58 +02:00
Alexandre Ratchov
369b2b9faf
unbreak midi
2011-04-19 01:52:03 +02:00
Alexandre Ratchov
787883791f
don't mention arc4random
2011-04-18 15:50:25 +02:00
Alexandre Ratchov
0cfe52ec5d
typos in comments and man pages
2011-04-18 15:45:12 +02:00
Alexandre Ratchov
9c6c106593
dont include file.h twice
2011-04-18 15:38:48 +02:00
Alexandre Ratchov
7983ad0a92
allow '*' to be used as 'any address'
2011-04-18 15:25:19 +02:00
Alexandre Ratchov
25d5fa236a
polish man pages
2011-04-18 15:17:04 +02:00
Alexandre Ratchov
3f1215502b
add TCP transport
2011-04-18 12:14:27 +02:00
Alexandre Ratchov
6c7f04bf10
no need to call getpeereid() anymore
2011-04-18 11:25:56 +02:00
Alexandre Ratchov
2b7b6ed7c6
unbreak build
2011-04-18 11:23:16 +02:00
Alexandre Ratchov
0663ca6f54
use a cookie for authentication
2011-04-16 18:30:24 +02:00
Alexandre Ratchov
2a4059ae60
use "aucatN" for aucat(1) socket path and "midicatN" for midicat(1),
...
no need to increase entropy by inventing new names.
use AUCAT_PATH and MIDICAT_PATH macros instead of hardcoded strings
2011-04-16 14:52:43 +02:00
Alexandre Ratchov
5ad77b9a6f
use "aucatN" for aucat(1) socket path and "midicatN" for midicat(1),
...
no need to increase entropy by inventing new names.
use AUCAT_PATH and MIDICAT_PATH macros instead of hardcoded strings
2011-04-16 14:52:25 +02:00
Alexandre Ratchov
621bd84067
remove aucat(1) and midicat(1) socket paths from the FILES sections.
...
Besides being wrong, they are part of sndio internals and don't need
to be exposed in such a high level man page.
2011-04-16 14:31:52 +02:00
Alexandre Ratchov
fe6209ee49
stop using and remove AMSG_GETCAP message
2011-04-16 13:18:06 +02:00
Alexandre Ratchov
313ba302a8
use common DPRINTF's for audio and midi code
2011-04-16 11:12:41 +02:00
Alexandre Ratchov
77a2cf5acb
use AMSG_DATA's for midi
2011-04-15 18:02:18 +02:00
Alexandre Ratchov
2bfcdf435b
add aucat_setfl() to set nbio flag
2011-04-12 23:50:05 +02:00
Alexandre Ratchov
7fa1603c83
Clean up function naming: use mio_<backend>_ prefix for private
...
midi-related functions and put them in files named mio_<backend>.c
No behaviour changes.
2011-04-12 11:24:49 +02:00
Alexandre Ratchov
1be9a4da0b
reply with a AMSG_STOP to AMSG_STOP and bump version
2011-04-12 10:38:24 +02:00
Alexandre Ratchov
5cad7e6688
remove unused {sio,mio}_hdl defs
2011-04-12 09:37:02 +02:00
Alexandre Ratchov
93c71ca1df
rename STATE_ macros
2011-04-12 09:34:22 +02:00
Alexandre Ratchov
936815ff03
put aucat protocol client code into a separate file, so it can
...
be used by both midi and audio backends (and other aucat backends
in the futur)
2011-04-12 09:30:40 +02:00
Alexandre Ratchov
4c12f59a6b
grammar fixes from Michael W. Bombardieri; also emphasize stderr, as
...
most pages do already. From okan@
2011-04-05 17:42:38 +02:00
Alexandre Ratchov
c446e8d141
add sio_<backend>_nfds() method
2011-03-31 13:08:07 +02:00
Alexandre Ratchov
2873ad8ad2
fix stupid functions names and file names, no binary change
2011-03-31 11:52:54 +02:00
Alexandre Ratchov
7b9076e617
fix error handling, tweak parameter selection
2011-03-31 11:35:19 +02:00
Alexandre Ratchov
7043f22059
better debug message
2011-03-30 18:41:05 +02:00
Alexandre Ratchov
cc6dd11c37
don't print 0xdeadbeef in the WIDLE state
2011-03-30 18:37:18 +02:00
Alexandre Ratchov
c70f456e5c
call sock_write() at the end of sock_read() in order to send
...
ACKs, initial positions, volumes and alikes. It's not OK to
call it in sock_execmsg() because it can generate messages
that would be sent before the message to return
2011-03-30 18:28:32 +02:00
Alexandre Ratchov
dadc1b872c
tweak previous;
...
from jmc@
2011-03-17 08:51:01 +01:00
Alexandre Ratchov
4e93a1717e
clean up cases of ;;
...
from deraadt@
2011-03-17 08:47:47 +01:00
Alexandre Ratchov
eed7d0dc80
use timerclear macro
...
from okan@
2011-03-17 08:44:37 +01:00
Alexandre Ratchov
b050508158
mention -U as global position-independent parameter
...
from Remco <remco at d-compu.dyndns.org>, thanks!
2011-03-17 08:43:36 +01:00
Alexandre Ratchov
c5d819295b
handle -lrt, necessary on linux
2011-01-25 10:38:57 +01:00
Alexandre Ratchov
03297a7e6b
remove all .so files, handy for version bumps
2011-01-25 10:35:07 +01:00
Alexandre Ratchov
ad04c349ad
include sys/types, necessary for function prototypes
2010-12-30 12:55:39 +01:00
Alexandre Ratchov
15c8794e5f
Terminate midi thru boxes trying to drain but that have no
...
outputs anymore, otherwise they can't be cleaned up by dev_close()
2010-11-14 14:51:30 +01:00
Alexandre Ratchov
35beeb5513
add a hook to configure precision
2010-11-10 15:08:37 +01:00