Files
Upsilon/apps/sequence/graph/go_to_parameter_controller.cpp
Émilie Feral 1964d61fdc [libaxx] add cmath and use cmath instead of math.h when required
Change-Id: Id839b17d33c69e2e002f370e553ff35246a1bc90
2017-08-16 09:55:29 +02:00

15 lines
340 B
C++

#include "go_to_parameter_controller.h"
#include "../app.h"
#include <assert.h>
#include <cmath>
namespace Sequence {
bool GoToParameterController::setParameterAtIndex(int parameterIndex, float f) {
assert(parameterIndex == 0);
return Shared::FunctionGoToParameterController::setParameterAtIndex(parameterIndex, std::round(f));
}
}