Rename samplesPerLine -> samplesPerColumn

This commit is contained in:
Mike Walters
2017-04-14 20:35:17 +01:00
parent 5678a4cb63
commit 509c4ea320
2 changed files with 4 additions and 4 deletions

View File

@@ -495,7 +495,7 @@ void PlotView::resizeEvent(QResizeEvent * event)
updateView();
}
off_t PlotView::samplesPerLine()
off_t PlotView::samplesPerColumn()
{
return fftSize / zoomLevel;
}
@@ -560,10 +560,10 @@ void PlotView::enableScales(bool enabled)
int PlotView::sampleToColumn(off_t sample)
{
return sample / samplesPerLine();
return sample / samplesPerColumn();
}
off_t PlotView::columnToSample(int col)
{
return col * samplesPerLine();
return col * samplesPerColumn();
}