Skip to content

Commit

Permalink
IQ rec/play: Fix navigation in large IQ files
Browse files Browse the repository at this point in the history
Fixed a play navigation error in large IQ files due to integer overflow.

Signed-off-by: Wolfgang Fritz <[email protected]>
  • Loading branch information
dk7ob authored and csete committed Aug 19, 2017
1 parent 6726510 commit 9e68d78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qtgui/iq_tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ void CIqTool::on_slider_valueChanged(int value)
{
refreshTimeWidgets();

qint64 seek_pos = (qint64)(value*sample_rate);
qint64 seek_pos = (qint64)(value)*sample_rate;
emit seek(seek_pos);
}

Expand Down

0 comments on commit 9e68d78

Please sign in to comment.