d0d8aed9c4da — Chris Cannam 14 days ago
Indentation only
M src/faster/R2Stretcher.cpp +1 -2
@@ 318,8 318,7 @@ R2Stretcher::setMaxProcessSize(size_t sa
 }
 
 void
-R2Stretcher::setKeyFrameMap(const std::map<size_t, size_t> &
-                                          mapping)
+R2Stretcher::setKeyFrameMap(const std::map<size_t, size_t> &mapping)
 {
     if (m_realtime) {
         m_log.log(0, "R2Stretcher::setKeyFrameMap: Cannot specify key frame map in RT mode");

          
M src/faster/StretcherChannelData.cpp +1 -1
@@ 111,7 111,7 @@ R2Stretcher::ChannelData::construct(cons
 
 void
 R2Stretcher::ChannelData::setSizes(size_t windowSize,
-                                                 size_t fftSize)
+                                   size_t fftSize)
 {
     size_t maxSize = 2 * std::max(windowSize, fftSize);
     size_t realSize = maxSize / 2 + 1;

          
M src/faster/StretcherProcess.cpp +22 -20
@@ 128,10 128,10 @@ R2Stretcher::resampleBeforeStretching() 
 
 void
 R2Stretcher::prepareChannelMS(size_t c,
-                                            const float *const *inputs,
-                                            size_t offset,
-                                            size_t samples, 
-                                            float *prepared)
+                              const float *const *inputs,
+                              size_t offset,
+                              size_t samples, 
+                              float *prepared)
 {
     for (size_t i = 0; i < samples; ++i) {
         float left = inputs[0][i + offset];

          
@@ 148,10 148,10 @@ R2Stretcher::prepareChannelMS(size_t c,
     
 size_t
 R2Stretcher::consumeChannel(size_t c,
-                                          const float *const *inputs,
-                                          size_t offset,
-                                          size_t samples,
-                                          bool final)
+                            const float *const *inputs,
+                            size_t offset,
+                            size_t samples,
+                            bool final)
 {
     Profiler profiler("R2Stretcher::consumeChannel");
 

          
@@ 405,9 405,9 @@ R2Stretcher::testInbufReadSpace(size_t c
 
 bool 
 R2Stretcher::processChunkForChannel(size_t c,
-                                                  size_t phaseIncrement,
-                                                  size_t shiftIncrement,
-                                                  bool phaseReset)
+                                    size_t phaseIncrement,
+                                    size_t shiftIncrement,
+                                    bool phaseReset)
 {
     Profiler profiler("R2Stretcher::processChunkForChannel");
 

          
@@ 499,8 499,8 @@ R2Stretcher::processChunkForChannel(size
 
 void
 R2Stretcher::calculateIncrements(size_t &phaseIncrementRtn,
-                                               size_t &shiftIncrementRtn,
-                                               bool &phaseReset)
+                                 size_t &shiftIncrementRtn,
+                                 bool &phaseReset)
 {
     Profiler profiler("R2Stretcher::calculateIncrements");
 

          
@@ 629,9 629,9 @@ R2Stretcher::calculateIncrements(size_t 
 
 bool
 R2Stretcher::getIncrements(size_t channel,
-                                         size_t &phaseIncrementRtn,
-                                         size_t &shiftIncrementRtn,
-                                         bool &phaseReset)
+                           size_t &phaseIncrementRtn,
+                           size_t &shiftIncrementRtn,
+                           bool &phaseReset)
 {
     Profiler profiler("R2Stretcher::getIncrements");
 

          
@@ 723,8 723,8 @@ R2Stretcher::analyseChunk(size_t channel
 
 void
 R2Stretcher::modifyChunk(size_t channel,
-                                       size_t outputIncrement,
-                                       bool phaseReset)
+                         size_t outputIncrement,
+                         bool phaseReset)
 {
     Profiler profiler("R2Stretcher::modifyChunk");
 

          
@@ 923,7 923,7 @@ R2Stretcher::formantShiftChunk(size_t ch
 
 void
 R2Stretcher::synthesiseChunk(size_t channel,
-                                           size_t shiftIncrement)
+                             size_t shiftIncrement)
 {
     Profiler profiler("R2Stretcher::synthesiseChunk");
 

          
@@ 1085,7 1085,9 @@ R2Stretcher::writeChunk(size_t channel, 
 }
 
 void
-R2Stretcher::writeOutput(RingBuffer<float> &to, float *from, size_t qty, size_t &outCount, size_t theoreticalOut)
+R2Stretcher::writeOutput(RingBuffer<float> &to,
+                         float *from, size_t qty,
+                         size_t &outCount, size_t theoreticalOut)
 {
     Profiler profiler("R2Stretcher::writeOutput");