summaryrefslogtreecommitdiffstats
path: root/src/libs/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-03 23:24:59 +0000
committerDavid Robillard <d@drobilla.net>2007-10-03 23:24:59 +0000
commit8d56b7e97a7da0bcae1160b65153cc13fdf2428c (patch)
tree3c8a8a02008d2ee91cd6901c833b71bb285f3cca /src/libs/client
parent34d19692c407c1474521cc7f93555fbbcfd8e833 (diff)
downloadingen-8d56b7e97a7da0bcae1160b65153cc13fdf2428c.tar.gz
ingen-8d56b7e97a7da0bcae1160b65153cc13fdf2428c.tar.bz2
ingen-8d56b7e97a7da0bcae1160b65153cc13fdf2428c.zip
Set initial values for embedded LV2 GUIs.
git-svn-id: http://svn.drobilla.net/lad/ingen@818 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client')
-rw-r--r--src/libs/client/PortModel.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/client/PortModel.hpp b/src/libs/client/PortModel.hpp
index 8548a898..fd965c2b 100644
--- a/src/libs/client/PortModel.hpp
+++ b/src/libs/client/PortModel.hpp
@@ -64,6 +64,8 @@ public:
signal_control.emit(val);
}
}
+
+ inline float value() { return _current_val; }
// Signals
sigc::signal<void, float> signal_control; ///< Control ports