Code style fixes

This commit is contained in:
vpereverzev 2021-09-13 20:03:28 +02:00
parent 8355a8cded
commit a321773414
3 changed files with 2 additions and 4 deletions

View file

@ -59,7 +59,6 @@ inline float sampleReleaseTimeCoefficient(const unsigned int sampleRate, const f
return std::exp(-std::log(9) / (sampleRate * releaseTimeInSecs));
}
inline void multiplySamples(float* buffer, const audioch_t& audioChannelsCount,
const audioch_t& audioChannelNumber, const samples_t& samplesPerChannel,
const float& multiplier)

View file

@ -9,10 +9,9 @@ using namespace mu::audio::dsp;
static constexpr float RATIO = 4.f;
Compressor::Compressor(const unsigned int sampleRate)
: m_filterConfig(sampleRate, RATIO),
m_feedbackFactor(1.f) // 0 = feed forward, 1 = feed back
m_feedbackFactor(1.f) // 0 = feed forward, 1 = feed back
{
}

View file

@ -66,7 +66,7 @@ public:
private:
void mixOutputFromChannel(float* outBuffer, float* inBuffer, unsigned int samplesCount);
void completeOutput(float* buffer, const samples_t &samplesPerChannel);
void completeOutput(float* buffer, const samples_t& samplesPerChannel);
std::vector<float> m_writeCacheBuff;