kopia lustrzana https://github.com/f4exb/sdrangel
Fixed roundf in audio dialog
rodzic
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));
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue