diff --git a/Source/PS_Source/ProcessedStretch.cpp b/Source/PS_Source/ProcessedStretch.cpp index 9650410..9bc1ddb 100644 --- a/Source/PS_Source/ProcessedStretch.cpp +++ b/Source/PS_Source/ProcessedStretch.cpp @@ -52,27 +52,16 @@ void ProcessedStretch::setBufferSize(int sz) //if (nfreq != sz) { nfreq = bufsize; - infreq = floatvector(nfreq); - sumfreq = floatvector(nfreq); - tmpfreq1 = floatvector(nfreq); - tmpfreq2 = floatvector(nfreq); + m_infreq = floatvector(nfreq); + m_sumfreq = floatvector(nfreq); + m_tmpfreq1 = floatvector(nfreq); + m_tmpfreq2 = floatvector(nfreq); //fbfreq=new REALTYPE[nfreq]; - free_filter_freqs = floatvector(nfreq); - for (int i = 0; i < nfreq; i++) { - free_filter_freqs[i] = 1.0; - // fbfreq[i]=0.0; - }; + m_free_filter_freqs = floatvector(nfreq); + fill_container(m_free_filter_freqs, 1.0f); } } - -/* -void ProcessedStretch::copy(const realvector& freq1,realvector& freq2) -{ - for (int i=0;i free_filter_freqs; + std::vector m_free_filter_freqs; ProcessParameters pars; - std::vector infreq,sumfreq,tmpfreq1,tmpfreq2; + std::vector m_infreq,m_sumfreq,m_tmpfreq1,m_tmpfreq2; //REALTYPE *fbfreq; };