diff options
author | David Robillard <d@drobilla.net> | 2007-09-22 23:51:00 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-09-22 23:51:00 +0000 |
commit | c1160ffc8a5dfb38891b0faa6373c9eecdd8e4c9 (patch) | |
tree | 1baf40b7a90bc96c4b0832103ff0cdabdf1ed1a6 /src/libs/client/PluginModel.cpp | |
parent | 4bd53e016b8bb912e48d77e756720516d876d5c2 (diff) | |
download | ingen-c1160ffc8a5dfb38891b0faa6373c9eecdd8e4c9.tar.gz ingen-c1160ffc8a5dfb38891b0faa6373c9eecdd8e4c9.tar.bz2 ingen-c1160ffc8a5dfb38891b0faa6373c9eecdd8e4c9.zip |
Type oblivious set_port_value interface.
git-svn-id: http://svn.drobilla.net/lad/ingen@765 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/PluginModel.cpp')
-rw-r--r-- | src/libs/client/PluginModel.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/libs/client/PluginModel.cpp b/src/libs/client/PluginModel.cpp index 442cbb43..6fb7e95a 100644 --- a/src/libs/client/PluginModel.cpp +++ b/src/libs/client/PluginModel.cpp @@ -55,11 +55,16 @@ PluginModel::default_node_name(SharedPtr<PatchModel> parent) void lv2_ui_write(LV2UI_Controller controller, - uint32_t port, - uint32_t buffer_size, - const void* buffer) + uint32_t port, + uint32_t buffer_size, + const void* buffer) { - cerr << "********* LV2 UI WRITE" << endl; + cerr << "********* LV2 UI WRITE port " << port << ", size " + << buffer_size << endl; + for (uint32_t i=0; i < buffer_size; ++i) { + fprintf(stderr, "( %X )", *((uint8_t*)buffer + i)); + } + fprintf(stderr, "\n"); } |