Properly instantiate the ADSR for testing

This commit is contained in:
paulfd 2019-08-25 14:26:40 +02:00
parent 7091d997b3
commit 02a8b56ce1

View file

@ -11,6 +11,9 @@ constexpr int decay = attack;
constexpr int release = attack;
constexpr int releaseTime = envelopeSize - static_cast<int>(envelopeSize / 4);
// Explicitely instantiate class
#include "../sources/ADSREnvelope.cpp"
template class sfz::ADSREnvelope<float>;
static void Point(benchmark::State& state) {
std::vector<float> output(state.range(0));