diff options
author | David Robillard <d@drobilla.net> | 2012-03-19 20:16:46 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-19 20:16:46 +0000 |
commit | 254b434f0a79fea54bd963e8ff2e845a5b0cd3a6 (patch) | |
tree | ddf849fc5b64d1096846c28c1f1a742f54c3adff /src/gui/App.cpp | |
parent | bc3afd8380d59c750c8f8e9bf1ed1b8d4a6826e9 (diff) | |
download | ingen-254b434f0a79fea54bd963e8ff2e845a5b0cd3a6.tar.gz ingen-254b434f0a79fea54bd963e8ff2e845a5b0cd3a6.tar.bz2 ingen-254b434f0a79fea54bd963e8ff2e845a5b0cd3a6.zip |
Partially functioning communication between Ingen LV2 plugin and UI.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4078 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/App.cpp')
-rw-r--r-- | src/gui/App.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/App.cpp b/src/gui/App.cpp index ad70a7f9..431b144c 100644 --- a/src/gui/App.cpp +++ b/src/gui/App.cpp @@ -225,8 +225,8 @@ App::property_change(const Raul::URI& subject, const Raul::Atom& value) { if (subject == uris().ingen_engine && key == uris().ingen_sampleRate) { - if (value.type() == Atom::INT) { - LOG(info) << "Sample rate: " << value << std::endl; + if (value.type() == forge().Int) { + LOG(info) << "Sample rate: " << uris().forge.str(value) << std::endl; _sample_rate = value.get_int32(); } else { error << "Engine sample rate property is not an integer" << std::endl; |