Skip to content

Commit 16380a2

Browse files
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.
1 parent 23c6ad1 commit 16380a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/qtgui/iq_tool.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ void CIqTool::on_playButton_clicked(bool checked)
127127
{
128128
ui->listWidget->setEnabled(false);
129129
ui->recButton->setEnabled(false);
130+
on_listWidget_currentTextChanged(current_file);
130131
emit startPlayback(recdir->absoluteFilePath(current_file),
131132
(float)sample_rate, center_freq);
132133
}

0 commit comments

Comments
 (0)