Andrew Bettison
86eb482ed9
Replace macros with functions
...
SET_NONBLOCKING(), SET_BLOCKING(), WRITE_STR() are now set_nonblock(),
set_block() and write_str() respectively, all of which log an error before
returning -1. There are other useful methods: write_all() treats anything less
than all bytes written as an error; write_nonblock() treats EAGAIN and EINTR as
zero bytes written, and a combination: write_all_nonblock().
2012-07-10 16:33:39 +09:30
Jeremy Lakeman
29cba17891
Fix rhizome transfers
2012-06-27 16:54:42 +09:30
Daniel O'Connor
271454aee3
Use WRITE_STR instead of writeLine.
...
staticise a bunch of variables & functions in monitor-cli.c
2012-06-25 16:24:33 +09:30
Daniel O'Connor
59ff806081
Don't pass the configuration value as the format string.
2012-06-22 20:40:29 +09:30
gardners
01712ab67e
monitor.socket config option added to allow multiple servald
...
instances on the same machine without conflicting abstract namespace
unix domain sockets for monitor interface.
2012-06-21 16:36:37 +09:30
gardners
4d5627a732
tweaked output to be more convenient.
2012-05-22 10:43:07 +09:30
gardners
81c2a926a3
working on getting short-circuit audio working.
2012-05-11 13:28:24 +09:30
gardners
7b82ccbd7b
work on bypass-audio.
...
CALLSTATUS monitor message has gained a field, thus changing
API for java side.
2012-05-11 08:14:00 +09:30
gardners
850d7b42d7
reworked shortcircuit audio code.
2012-05-10 16:58:57 +09:30
gardners
8d2792ce74
substantial work towards playing audio on IDEOS/G1 type MSM chipset
...
android phones directly from C to dramatically reduce latency.
2012-05-10 03:47:18 +09:30
gardners
b198db38b9
fixed various bugs in monitor-cli.
2012-05-08 15:47:39 +09:30
gardners
c571493096
fixed non-blocking after reading/writing so that android shell
...
doesn't get upset.
2012-05-08 14:56:15 +09:30
Andrew Bettison
836f8332e8
Replace perror() with WHY_perror()
...
Puts more diagnostics to Android log
2012-05-08 14:53:34 +09:30
gardners
596b20b5e8
interactive servald monitor cli command implemented.
2012-05-08 14:41:21 +09:30
gardners
67c7c1a7c0
improve monitor-cli to allow choosing which peer to dial.
2012-05-08 14:41:21 +09:30
gardners
4fa63e61bc
improved monitor-cli.c to auto-dial a peer and pump audio in.
2012-05-08 14:41:21 +09:30
gardners
e71b2385e6
added commandline test utility for monitor interface.
2012-05-04 03:48:56 +09:30