Fix for FX Params

pull/764/head
jnonis 6 months ago
parent 0a68eb577f
commit bed555fcfb
  1. 2
      src/effect_base.cpp
  2. 2
      src/effect_bigmuff.h
  3. 2
      src/effect_chorus.h
  4. 2
      src/effect_delay.h
  5. 2
      src/effect_ds1.h
  6. 2
      src/effect_lpf.h
  7. 2
      src/effect_platervbstereo.h
  8. 2
      src/effect_talreverb3.h

@ -41,7 +41,7 @@ void AudioEffect::setParameters(std::vector<unsigned> params)
std::vector<unsigned> AudioEffect::getParameters()
{
size_t len = getParametersSize();
size_t len = this->getParametersSize();
std::vector<unsigned> params;
for (size_t i = 0; i < len; i++)
{

@ -35,7 +35,7 @@ public:
protected:
virtual size_t getParametersSize()
{
return sizeof(AudioEffectBigMuff::Param);
return AudioEffectBigMuff::Param::UNKNOWN;
}
virtual void doProcess(const float32_t* inblockL, const float32_t* inblockR, float32_t* outblockL, float32_t* outblockR, uint16_t len);
private:

@ -45,7 +45,7 @@ public:
protected:
virtual size_t getParametersSize()
{
return sizeof(AudioEffectChorus::Param);
return AudioEffectChorus::Param::UNKNOWN;
}
virtual void doProcess(const float32_t* inblockL, const float32_t* inblockR, float32_t* outblockL, float32_t* outblockR, uint16_t len);

@ -39,7 +39,7 @@ public:
protected:
virtual size_t getParametersSize()
{
return sizeof(AudioEffectDelay::Param);
return AudioEffectDelay::Param::UNKNOWN;
}
virtual void doProcess(const float32_t* inblockL, const float32_t* inblockR, float32_t* outblockL, float32_t* outblockR, uint16_t len);
private:

@ -35,7 +35,7 @@ public:
protected:
virtual size_t getParametersSize()
{
return sizeof(AudioEffectDS1::Param);
return AudioEffectDS1::Param::UNKNOWN;
}
virtual void doProcess(const float32_t* inblockL, const float32_t* inblockR, float32_t* outblockL, float32_t* outblockR, uint16_t len);
private:

@ -100,7 +100,7 @@ public:
protected:
virtual size_t getParametersSize()
{
return sizeof(AudioEffectLPF::Param);
return AudioEffectLPF::Param::UNKNOWN;
}
virtual void doProcess(const float32_t* inblockL, const float32_t* inblockR, float32_t* outblockL, float32_t* outblockR, uint16_t len)

@ -136,7 +136,7 @@ public:
protected:
virtual size_t getParametersSize()
{
return sizeof(AudioEffectPlateReverb::Param);
return AudioEffectPlateReverb::Param::UNKNOWN;
}
virtual void doProcess(const float32_t* inblockL, const float32_t* inblockR, float32_t* outblockL, float32_t* outblockR, uint16_t len);

@ -44,7 +44,7 @@ public:
protected:
virtual size_t getParametersSize()
{
return sizeof(AudioEffectTalReverb3::Param);
return AudioEffectTalReverb3::Param::UNKNOWN;
}
virtual void doProcess(const float32_t* inblockL, const float32_t* inblockR, float32_t* outblockL, float32_t* outblockR, uint16_t len);
private:

Loading…
Cancel
Save