Properly instantiate the ADSR for testing
This commit is contained in:
parent
7091d997b3
commit
02a8b56ce1
1 changed files with 3 additions and 0 deletions
|
|
@ -11,6 +11,9 @@ constexpr int decay = attack;
|
||||||
constexpr int release = attack;
|
constexpr int release = attack;
|
||||||
constexpr int releaseTime = envelopeSize - static_cast<int>(envelopeSize / 4);
|
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) {
|
static void Point(benchmark::State& state) {
|
||||||
std::vector<float> output(state.range(0));
|
std::vector<float> output(state.range(0));
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue