mirror of
https://github.com/miek/inspectrum.git
synced 2026-03-06 00:14:20 +01:00
Merge remote-tracking branch 'schneider42/37-16gib-off_t-fix'
This commit is contained in:
@@ -61,7 +61,7 @@ void Spectrogram::paintEvent(QPaintEvent *event)
|
||||
|
||||
if (inputSource != nullptr) {
|
||||
int height = rect.height();
|
||||
int y = rect.y();
|
||||
off_t y = rect.y();
|
||||
|
||||
QImage image(fftSize, height, QImage::Format_RGB32);
|
||||
|
||||
@@ -216,7 +216,7 @@ int Spectrogram::getStride()
|
||||
return fftSize / pow(2, zoomLevel);
|
||||
}
|
||||
|
||||
off_t Spectrogram::lineToSample(int line) {
|
||||
off_t Spectrogram::lineToSample(off_t line) {
|
||||
return line * getStride();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user