diff dsp/phasevocoder/PhaseVocoder.cpp @ 505:930b5b0f707d

Merge branch 'codestyle-and-tidy'
author Chris Cannam <cannam@all-day-breakfast.com>
date Wed, 05 Jun 2019 12:55:15 +0100
parents fdaa63607c15
children
line wrap: on
line diff
--- a/dsp/phasevocoder/PhaseVocoder.cpp	Thu May 30 16:18:13 2019 +0100
+++ b/dsp/phasevocoder/PhaseVocoder.cpp	Wed Jun 05 12:55:15 2019 +0100
@@ -105,17 +105,17 @@
 }
 
 void PhaseVocoder::getMagnitudes(double *mag)
-{	
+{       
     for (int i = 0; i < m_n/2 + 1; i++) {
-	mag[i] = sqrt(m_real[i] * m_real[i] + m_imag[i] * m_imag[i]);
+        mag[i] = sqrt(m_real[i] * m_real[i] + m_imag[i] * m_imag[i]);
     }
 }
 
 void PhaseVocoder::getPhases(double *theta)
 {
     for (int i = 0; i < m_n/2 + 1; i++) {
-	theta[i] = atan2(m_imag[i], m_real[i]);
-    }	
+        theta[i] = atan2(m_imag[i], m_real[i]);
+    }   
 }
 
 void PhaseVocoder::unwrapPhases(double *theta, double *unwrapped)