Mercurial > hg > qm-dsp
diff dsp/rateconversion/Decimator.h @ 499:af5b7ef02aa7
Style fixes: avoid unsigned, fix formatting
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Mon, 03 Jun 2019 14:20:39 +0100 |
parents | 701233f8ed41 |
children |
line wrap: on
line diff
--- a/dsp/rateconversion/Decimator.h Mon Jun 03 14:20:07 2019 +0100 +++ b/dsp/rateconversion/Decimator.h Mon Jun 03 14:20:39 2019 +0100 @@ -34,7 +34,7 @@ * is obtained through getHighestSupportedFactor(); for higher * factors, you will need to chain more than one decimator. */ - Decimator( unsigned int inLength, unsigned int decFactor ); + Decimator(int inLength, int decFactor); virtual ~Decimator(); /** @@ -60,13 +60,13 @@ private: void deInitialise(); - void initialise( unsigned int inLength, unsigned int decFactor ); - void doAntiAlias( const double* src, double* dst, unsigned int length ); - void doAntiAlias( const float* src, double* dst, unsigned int length ); + void initialise( int inLength, int decFactor ); + void doAntiAlias( const double* src, double* dst, int length ); + void doAntiAlias( const float* src, double* dst, int length ); - unsigned int m_inputLength; - unsigned int m_outputLength; - unsigned int m_decFactor; + int m_inputLength; + int m_outputLength; + int m_decFactor; double Input; double Output ;