Newer
Older
music / app / src / main / cpp / waveforms / Waveform.cpp
  1. #include "Waveform.h"
  2.  
  3. void Waveform::doRender(uint32_t sampleCount) {
  4. renderWaveform(sampleCount);
  5. for (uint32_t i = 0; i < sampleCount; i++) {
  6. buffer[i] *= amplitude;
  7. }
  8. }