mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Add volume sliders to AFV sample UI
This commit is contained in:
committed by
Mat Sutcliffe
parent
8d1eea25b1
commit
1deaf1ca8b
@@ -50,6 +50,11 @@ namespace BlackCore
|
||||
{ 1 }
|
||||
};
|
||||
|
||||
m_transmittingTransceivers =
|
||||
{
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
qDebug() << "UserClient instantiated";
|
||||
}
|
||||
|
||||
@@ -406,7 +411,7 @@ namespace BlackCore
|
||||
updateTransceivers();
|
||||
}
|
||||
|
||||
float AFVClient::getOutputVolumeDb() const
|
||||
double AFVClient::getOutputVolumeDb() const
|
||||
{
|
||||
return m_outputVolume;
|
||||
}
|
||||
|
||||
@@ -95,10 +95,10 @@ namespace BlackCore
|
||||
return m_inputVolumeDb;
|
||||
}
|
||||
|
||||
void setInputVolumeDb(double value);
|
||||
Q_INVOKABLE void setInputVolumeDb(double value);
|
||||
|
||||
float getOutputVolumeDb() const;
|
||||
void setOutputVolumeDb(double outputVolume);
|
||||
double getOutputVolumeDb() const;
|
||||
Q_INVOKABLE void setOutputVolumeDb(double outputVolume);
|
||||
|
||||
float getInputVolumePeakVU() const { return m_inputVolumeStream.PeakVU; }
|
||||
float getOutputVolumePeakVU() const { return m_outputVolumeStream.PeakVU; }
|
||||
|
||||
Reference in New Issue
Block a user