From 478a2bd82e0593c48e5539178bea34a3480cbfb4 Mon Sep 17 00:00:00 2001 From: Vladislav P Date: Mon, 7 Nov 2022 02:48:57 +0300 Subject: [PATCH] IQ tool: Always choose correct sampling rate Reselect file before starting playback. Fixes incorrect sample rate when playback is started, stopped, devices switched, dsp started, stopped and then started playback of the same IQ file. --- src/qtgui/iq_tool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qtgui/iq_tool.cpp b/src/qtgui/iq_tool.cpp index bbc1fda09..9f3bd5305 100644 --- a/src/qtgui/iq_tool.cpp +++ b/src/qtgui/iq_tool.cpp @@ -127,6 +127,7 @@ void CIqTool::on_playButton_clicked(bool checked) { ui->listWidget->setEnabled(false); ui->recButton->setEnabled(false); + on_listWidget_currentTextChanged(current_file); emit startPlayback(recdir->absoluteFilePath(current_file), (float)sample_rate, center_freq); }