Some small fixes suggested by Coverity Scan

This commit is contained in:
Chris Cannam
2014-09-03 17:11:07 +01:00
parent bd7e32b34c
commit 7ad3bcd729
8 changed files with 25 additions and 8 deletions

View File

@@ -85,8 +85,8 @@ protected:
void updateFormant();
void updateFast();
float *m_input[2];
float *m_output[2];
float **m_input;
float **m_output;
float *m_latency;
float *m_cents;
float *m_semitones;
@@ -105,8 +105,8 @@ protected:
size_t m_minfill;
RubberBand::RubberBandStretcher *m_stretcher;
RubberBand::RingBuffer<float> *m_outputBuffer[2];
float *m_scratch[2];
RubberBand::RingBuffer<float> **m_outputBuffer;
float **m_scratch;
int m_sampleRate;
size_t m_channels;