comparison data/model/FFTModel.cpp @ 1155:546d4e417346 3.0-integration

Tidy a bit
author Chris Cannam
date Fri, 22 Jan 2016 17:08:02 +0000
parents aa588c391d1a
children 444d133b5ab7
comparison
equal deleted inserted replaced
1154:aa588c391d1a 1155:546d4e417346
134 FFTModel::getValuesAt(int x, int y, float &re, float &im) const 134 FFTModel::getValuesAt(int x, int y, float &re, float &im) const
135 { 135 {
136 auto col = getFFTColumn(x); 136 auto col = getFFTColumn(x);
137 re = col[y].real(); 137 re = col[y].real();
138 im = col[y].imag(); 138 im = col[y].imag();
139 }
140
141 bool
142 FFTModel::isColumnAvailable(int) const
143 {
144 //!!!
145 return true;
146 } 139 }
147 140
148 bool 141 bool
149 FFTModel::getMagnitudesAt(int x, float *values, int minbin, int count) const 142 FFTModel::getMagnitudesAt(int x, float *values, int minbin, int count) const
150 { 143 {