fix: validate input index in Mixer and update parameter count in plugin info
This commit is contained in:
parent
386f8b7e54
commit
970cb6049d
4 changed files with 16 additions and 10 deletions
|
|
@ -19,11 +19,9 @@ public:
|
|||
|
||||
private:
|
||||
void mixChannels(const float **inputs, float *out, uint32_t frames);
|
||||
bool isValidInputIndex(float index) const;
|
||||
bool isValidInputIndex(uint32_t index) const;
|
||||
float gains_[NumInputs];
|
||||
bool normalise_;
|
||||
};
|
||||
|
||||
#endif // MIXER_HPP_INCLUDED
|
||||
|
||||
template class Mixer<2u>;
|
||||
#endif // MIXER_HPP_INCLUDED
|
||||
Loading…
Add table
Add a link
Reference in a new issue