diff options
author | David Robillard <d@drobilla.net> | 2007-02-07 03:22:42 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-02-07 03:22:42 +0000 |
commit | 39d5400b39c8089287d5d294becae1268d232d31 (patch) | |
tree | 0cf73ef86233121bc7f0408ca536aad196d3166c /src/libs/engine/events/DSSIControlEvent.cpp | |
parent | e135edf1e65ac978f86f4849bd3667299dd69c7e (diff) | |
download | ingen-39d5400b39c8089287d5d294becae1268d232d31.tar.gz ingen-39d5400b39c8089287d5d294becae1268d232d31.tar.bz2 ingen-39d5400b39c8089287d5d294becae1268d232d31.zip |
Mad sed-fu for consistent private member naming.
git-svn-id: http://svn.drobilla.net/lad/ingen@286 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events/DSSIControlEvent.cpp')
-rw-r--r-- | src/libs/engine/events/DSSIControlEvent.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/libs/engine/events/DSSIControlEvent.cpp b/src/libs/engine/events/DSSIControlEvent.cpp index 6c12611c..7867658b 100644 --- a/src/libs/engine/events/DSSIControlEvent.cpp +++ b/src/libs/engine/events/DSSIControlEvent.cpp @@ -25,10 +25,10 @@ namespace Ingen { DSSIControlEvent::DSSIControlEvent(Engine& engine, SharedPtr<Responder> responder, SampleCount timestamp, const string& node_path, int port_num, Sample val) : QueuedEvent(engine, responder, timestamp), - m_node_path(node_path), - m_port_num(port_num), - m_val(val), - m_node(NULL) + _node_path(node_path), + _port_num(port_num), + _val(val), + _node(NULL) { } @@ -36,12 +36,12 @@ DSSIControlEvent::DSSIControlEvent(Engine& engine, SharedPtr<Responder> responde void DSSIControlEvent::pre_process() { - Node* node = _engine.object_store()->find_node(m_node_path); + Node* node = _engine.object_store()->find_node(_node_path); if (node->plugin()->type() != Plugin::DSSI) - m_node = NULL; + _node = NULL; else - m_node = (DSSINode*)node; + _node = (DSSINode*)node; QueuedEvent::pre_process(); } @@ -52,16 +52,16 @@ DSSIControlEvent::execute(SampleCount nframes, FrameTime start, FrameTime end) { QueuedEvent::execute(nframes, start, end); - if (m_node != NULL) - m_node->set_control(m_port_num, m_val); + if (_node != NULL) + _node->set_control(_port_num, _val); } void DSSIControlEvent::post_process() { - if (m_node == NULL) - std::cerr << "Unable to find DSSI node " << m_node_path << std::endl; + if (_node == NULL) + std::cerr << "Unable to find DSSI node " << _node_path << std::endl; } |