isModnoMode() added.

pull/1/head
Holger Wirtz 8 years ago
parent 59e6da5f73
commit 04c65a5da0
  1. 9
      src/dexed.cpp
  2. 3
      src/dexed.h

@ -88,13 +88,12 @@ Dexed::~Dexed()
void Dexed::set_params(void)
{
/*
// Dexed-Unisono
if(getEngineType()!=int(*p(p_unisono)))
if(isMonoMode()!=int(*p(p_unisono)))
{
panic();
setMonoMode(int(*p(p_unisono)));
} */
}
// Dexed-Engine
if(getEngineType()!=int(*p(p_engine)))
@ -628,6 +627,10 @@ void Dexed::setEngineType(int tp) {
engineType = tp;
}
bool Dexed::isMonoMode(void) {
return monoMode;
}
void Dexed::setMonoMode(bool mode) {
monoMode = mode;
}

@ -78,11 +78,10 @@ class Dexed : public lvtk::Synth<DexedVoice, Dexed>
void run(uint32_t sample_count);
int getEngineType();
void setEngineType(int rs);
bool isMonoMode(void);
void setMonoMode(bool mode);
void set_params(void);
void GetSamples(int n_samples, float *buffer);
//bool isMonoMode();
//void setMonoMode(bool mode);
uint8_t data[161];
Controllers controllers;

Loading…
Cancel
Save