mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 06:45:37 +08:00
Fix sample afvclient
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user