Commit Graph

805 Commits

Author SHA1 Message Date
Alexandre Ratchov 02f3853786 add -w option to switch off automatic volume adjustments 2011-05-13 13:38:34 +02:00
Alexandre Ratchov a6816c6fa5 fix option handling and enable TCP in midicat
from peters at schwertfisch.de, thanks!
2011-05-10 11:49:54 +02:00
Alexandre Ratchov c4c6839064 add a sysex.h header with all sysex messages and
expose new dumpreq, dumpend and mixinfo
2011-05-09 19:40:34 +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 ef2dda9f91 dont use INFTIM, not available on linux 2011-05-07 14:12:47 +02:00
Alexandre Ratchov b0d4ec71f5 add example programs 2011-05-07 14:08:45 +02:00
Alexandre Ratchov 90905eea06 remove COMPAT_PACKED 2011-05-07 01:43:44 +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 306282cb7f initialize wav->pstate 2011-05-06 19:50:19 +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 0bba66304b simplify compat bits 2011-05-06 13:40:39 +02:00
Alexandre Ratchov 5f53917840 remove getpeereid 2011-05-06 13:12:01 +02:00
Alexandre Ratchov 68f6173228 add -DSTRLCAT option 2011-05-06 12:50:17 +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 1cda5b83e3 replace '*' -> '-' as address to listen to and document it 2011-05-03 21:36:52 +02:00
Alexandre Ratchov e76f856e7a tweaks from jmc 2011-05-03 09:10:45 +02:00
Alexandre Ratchov ceeca19277 remove unused defs (recommit) 2011-05-01 15:39:29 +02:00
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