Browse Source

Limit bitcrusher resolution param to 16 max

pull/2/merge
falkTX 9 years ago
parent
commit
19d27ac056
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      plugins/BitCrusher/gen_exported.cpp

+ 2
- 2
plugins/BitCrusher/gen_exported.cpp View File

@@ -79,7 +79,7 @@ typedef struct State {
};
inline void set_resolution(double _value) {
m_resolution_1 = _value;
m_resolution_1 = (_value < 1 ? 1 : (_value > 16 ? 16 : _value));
};
} State;
@@ -164,7 +164,7 @@ void * create(double sr, long vs) {
pi->inputmax = 1;
pi->hasminmax = true;
pi->outputmin = 1;
pi->outputmax = 32;
pi->outputmax = 16;
pi->exp = 0;
pi->units = "bits"; // no units defined


Loading…
Cancel
Save