mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 01:39:05 -05:00
Fixed roundf in audio dialog
This commit is contained in:
parent
7e37d91a49
commit
c1f350c7e3
@ -172,7 +172,7 @@ void AudioDialogX::on_inputCleanup_clicked(bool checked __attribute__((unused)))
|
||||
void AudioDialogX::updateInputDisplay()
|
||||
{
|
||||
ui->inputSampleRate->setValue(m_inputDeviceInfo.sampleRate);
|
||||
ui->inputVolume->setValue(roundf(m_inputDeviceInfo.volume * 100.0f));
|
||||
ui->inputVolume->setValue(round(m_inputDeviceInfo.volume * 100.0f));
|
||||
ui->inputVolumeText->setText(QString("%1").arg(m_inputDeviceInfo.volume, 0, 'f', 2));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user