diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-10-16 11:43:32 +0200 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-10-16 13:36:12 +0200 |
commit | 0eae72d527dad477bbf1b27dc605035433ea51f4 (patch) | |
tree | 456ff4808fb29eb5d3b568b42bfee5c26d437108 /src/waveform | |
parent | 969ca485a8511d7c70765a719b32333c0a20aa7b (diff) |
WaveformWidgetRenderer: Fix return type of get*VSample()
Diffstat (limited to 'src/waveform')
-rw-r--r-- | src/waveform/renderers/waveformwidgetrenderer.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/waveform/renderers/waveformwidgetrenderer.h b/src/waveform/renderers/waveformwidgetrenderer.h index c5bf856162..8e111fddf3 100644 --- a/src/waveform/renderers/waveformwidgetrenderer.h +++ b/src/waveform/renderers/waveformwidgetrenderer.h @@ -75,8 +75,12 @@ class WaveformWidgetRenderer { } double getPlayPos() const { return m_playPos;} - double getPlayPosVSample() const { return m_playPosVSample;} - double getTotalVSample() const { return m_totalVSamples;} + int getPlayPosVSample() const { + return m_playPosVSample; + } + int getTotalVSample() const { + return m_totalVSamples; + } double getZoomFactor() const { return m_zoomFactor;} double getGain() const { return m_gain;} int getTrackSamples() const { return m_trackSamples;} |