summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ingen/client/NodeModel.hpp5
-rw-r--r--include/ingen/client/PortModel.hpp2
2 files changed, 4 insertions, 3 deletions
diff --git a/include/ingen/client/NodeModel.hpp b/include/ingen/client/NodeModel.hpp
index efc8514a..c874e6fb 100644
--- a/include/ingen/client/NodeModel.hpp
+++ b/include/ingen/client/NodeModel.hpp
@@ -66,9 +66,10 @@ public:
const Ports& ports() const { return _ports; }
void default_port_value_range(SharedPtr<const PortModel> port,
- float& min, float& max) const;
+ float& min, float& max, uint32_t srate=1) const;
+
void port_value_range(SharedPtr<const PortModel> port,
- float& min, float& max) const;
+ float& min, float& max, uint32_t srate=1) const;
std::string port_label(SharedPtr<const PortModel> port) const;
diff --git a/include/ingen/client/PortModel.hpp b/include/ingen/client/PortModel.hpp
index e8e74f8a..36ab847f 100644
--- a/include/ingen/client/PortModel.hpp
+++ b/include/ingen/client/PortModel.hpp
@@ -51,7 +51,7 @@ public:
inline bool is_input() const { return (_direction == INPUT); }
inline bool is_output() const { return (_direction == OUTPUT); }
- bool port_property(const std::string& uri) const;
+ bool port_property(const Raul::URI& uri) const;
bool is_numeric() const { return is_a(PortType::CONTROL); }
bool is_logarithmic() const { return port_property("http://drobilla.net/ns/ingen#logarithmic"); }