diff options
author | David Robillard <d@drobilla.net> | 2017-12-17 20:33:47 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-17 20:33:47 +0100 |
commit | 7f37e2306f79d3f77934aa97e5f784fb0b39b838 (patch) | |
tree | 32a8b3b87795ba494ff5f0fcaf7ea893a8fb5594 /src/Forge.cpp | |
parent | 86bf9cbd7af99c8964745d414494c26af11af0f4 (diff) | |
download | ingen-7f37e2306f79d3f77934aa97e5f784fb0b39b838.tar.gz ingen-7f37e2306f79d3f77934aa97e5f784fb0b39b838.tar.bz2 ingen-7f37e2306f79d3f77934aa97e5f784fb0b39b838.zip |
Use LV2 atom forge C++ bindings
Diffstat (limited to 'src/Forge.cpp')
-rw-r--r-- | src/Forge.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Forge.cpp b/src/Forge.cpp index 52a01f40..e3891de0 100644 --- a/src/Forge.cpp +++ b/src/Forge.cpp @@ -23,16 +23,16 @@ namespace Ingen { Forge::Forge(URIMap& map) - : _map(map) + : lv2::atom::Forge(&map.urid_map_feature()->urid_map) + , _map(map) { - lv2_atom_forge_init(this, &map.urid_map_feature()->urid_map); } Atom Forge::make_urid(const Raul::URI& u) { const LV2_URID urid = _map.map_uri(u); - return Atom(sizeof(int32_t), URID, &urid); + return Atom(sizeof(urid), URID, &urid); } std::string |