summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2016-04-25 12:04:10 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2016-04-25 12:04:10 +0200
commit48327871ecd3327c6a7f218d4846d7ae22b0fcae (patch)
tree3f3ade323070ce18a2c89d91cdc4a9ce87b61418
parent35c0047c7a15d3b1a5b78f063dff3a6ecf967ebf (diff)
Style fix in InputProcessor class.
-rw-r--r--src/inputprocessor.cc4
-rw-r--r--src/inputprocessor.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/inputprocessor.cc b/src/inputprocessor.cc
index 836cb92..4344144 100644
--- a/src/inputprocessor.cc
+++ b/src/inputprocessor.cc
@@ -61,7 +61,7 @@ bool InputProcessor::process(const std::vector<event_t>& events, size_t pos, dou
return true;
}
-bool InputProcessor::process_onset(const event_t& event, size_t pos, double resample_ratio)
+bool InputProcessor::processOnset(const event_t& event, size_t pos, double resample_ratio)
{
if(!kit.isValid()) {
return false;
@@ -133,7 +133,7 @@ bool InputProcessor::process_onset(const event_t& event, size_t pos, double resa
return true;
}
-bool InputProcessor::process_stop(const event_t& event)
+bool InputProcessor::processStop(const event_t& event)
{
if(event.type == TYPE_STOP)
{
diff --git a/src/inputprocessor.h b/src/inputprocessor.h
index 7e03737..da370ec 100644
--- a/src/inputprocessor.h
+++ b/src/inputprocessor.h
@@ -43,6 +43,6 @@ private:
std::list<Event*>* activeevents;
bool is_stopping; ///< Is set to true when a TYPE_STOP event has been seen.
- bool process_onset(const event_t& event, size_t pos, double resample_ratio);
- bool process_stop(const event_t& event);
+ bool processOnset(const event_t& event, size_t pos, double resample_ratio);
+ bool processStop(const event_t& event);
};