summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-16 06:53:12 +0000
committerDavid Robillard <d@drobilla.net>2008-11-16 06:53:12 +0000
commitf1b0b3495340399bebb93b20ed9a264a3db4e5da (patch)
treec5c6af449c7f39846d5f0201fe16ea803784465b /src/engine
parent0bd203374d1bc3bb3f303705b37c7567e1ef673f (diff)
downloadingen-f1b0b3495340399bebb93b20ed9a264a3db4e5da.tar.gz
ingen-f1b0b3495340399bebb93b20ed9a264a3db4e5da.tar.bz2
ingen-f1b0b3495340399bebb93b20ed9a264a3db4e5da.zip
Control port value tracking via HTTP.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1725 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/HTTPClientSender.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/engine/HTTPClientSender.cpp b/src/engine/HTTPClientSender.cpp
index bcbf8dd8..0cbd1100 100644
--- a/src/engine/HTTPClientSender.cpp
+++ b/src/engine/HTTPClientSender.cpp
@@ -158,7 +158,11 @@ HTTPClientSender::set_voice_value(const std::string& port_path, uint32_t voice,
void
HTTPClientSender::activity(const std::string& path)
{
- //lo_send(_address, "/ingen/activity", "s", port_path.c_str(), LO_ARGS_END);
+ string msg = string(
+ "@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n"
+ "@prefix ingen: <http://drobilla.net/ns/ingen#> .\n\n<").append(
+ path).append("> ingen:activity true .\n");
+ send_chunk(msg);
}
static void null_deleter(const Shared::GraphObject*) {}