diff options
author | David Robillard <d@drobilla.net> | 2006-12-11 22:32:31 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-12-11 22:32:31 +0000 |
commit | 9e2a757e026abf79d0cdcf12a18796fa89973356 (patch) | |
tree | b739d65e9d15415b5fbfd1e9969e2efd7b498c25 /src/libs/engine/ObjectSender.cpp | |
parent | c9fdc9d94f3d6081e36e98f5ae6cc03f361e8057 (diff) | |
download | ingen-9e2a757e026abf79d0cdcf12a18796fa89973356.tar.gz ingen-9e2a757e026abf79d0cdcf12a18796fa89973356.tar.bz2 ingen-9e2a757e026abf79d0cdcf12a18796fa89973356.zip |
Serialization of patch ports.
git-svn-id: http://svn.drobilla.net/lad/ingen@216 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/ObjectSender.cpp')
-rw-r--r-- | src/libs/engine/ObjectSender.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libs/engine/ObjectSender.cpp b/src/libs/engine/ObjectSender.cpp index 6e93f405..8b238c72 100644 --- a/src/libs/engine/ObjectSender.cpp +++ b/src/libs/engine/ObjectSender.cpp @@ -130,9 +130,11 @@ ObjectSender::send_port(ClientInterface* client, const Port* port) string type = port->type().uri(); if (port->type() == DataType::FLOAT) { if (port->buffer_size() == 1) - type = "CONTROL"; + type = "ingen:control"; else - type = "AUDIO"; + type = "ingen:audio"; + } else if (port->type() == DataType::MIDI) { + type = "ingen:midi"; } //cerr << ", type = " << type << endl; |