Fix sample afvclient

This commit is contained in:
Lars Toenning
2021-09-05 13:55:22 +02:00
parent 6564c93ae6
commit b06fef9e16
2 changed files with 6 additions and 6 deletions

View File

@@ -96,8 +96,8 @@ public:
//! \copydoc BlackCore::Afv::Clients::CAfvClient::setInputVolumeDb
Q_INVOKABLE void setInputVolumeDb(double valueDb) { m_afvClient->setInputVolumeDb(valueDb); }
//! \copydoc BlackCore::Afv::Clients::CAfvClient::setOutputVolumeDb
Q_INVOKABLE void setOutputVolumeDb(double valueDb) { m_afvClient->setOutputVolumeDb(valueDb); }
//! \copydoc BlackCore::Afv::Clients::CAfvClient::setNormalizedMasterOutputVolume
Q_INVOKABLE void setNormalizedMasterOutputVolume(double valueDb) { m_afvClient->setNormalizedMasterOutputVolume(valueDb); }
signals:
//! Receiving callsigns have been changed

View File

@@ -282,12 +282,12 @@ ApplicationWindow {
Slider {
id: slOutputVolume
from: -18
to: 18
value: 0
from: 0
to: 100
value: 50
anchors.verticalCenter: parent.verticalCenter
wheelEnabled: true
onMoved: voiceClient.setOutputVolumeDb(value)
onMoved: voiceClient.setNormalizedMasterOutputVolume(value)
}
}