Skip to content

Commit

Permalink
Merge pull request #24 from brummbrum/master
Browse files Browse the repository at this point in the history
Release v0.92
  • Loading branch information
brummbrum authored Jun 24, 2019
2 parents 4950b6f + f57aedb commit a025911
Show file tree
Hide file tree
Showing 3 changed files with 252 additions and 111 deletions.
10 changes: 1 addition & 9 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,15 +146,7 @@ BaseSurface::~BaseSurface() {

void BaseSurface::Run() {
// ToDo: Rather than putting this in BaseSurface consider to just override Run() in NiMidiSurface and call the superclass : BaseSurface::Run()
const int METER_UPDATE = 0; // Update on every call for now (approx. 30/s)
static int simpleTimer = 0;
if (simpleTimer < METER_UPDATE) {
++simpleTimer;
}
else {
simpleTimer = 0;
this->_peakMixerUpdate();
}
this->_peakMixerUpdate();
// --------------------------------------------------------------------------------
if (!this->_midiIn) {
return;
Expand Down
Loading

0 comments on commit a025911

Please sign in to comment.