Newer
Older
music / app / src / main / cpp / waveforms / Waveform.cpp
#include "Waveform.h"

void Waveform::doRender(uint32_t sampleCount) {
    renderWaveform(sampleCount);
    for (uint32_t i = 0; i < sampleCount; i++) {
        buffer[i] *= amplitude;
    }
}