mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
Remove unused code
math: Already replaced with C++17 double std::hypot
This commit is contained in:
@@ -338,7 +338,6 @@ namespace BlackCore
|
||||
|
||||
m_output->start(useOutputDevice, m_outputSampleProvider);
|
||||
m_input->start(useInputDevice);
|
||||
m_startDateTimeUtc = QDateTime::currentDateTimeUtc();
|
||||
|
||||
// runs in correct thread
|
||||
m_voiceServerTimer->start(PositionUpdatesMs); // start for preset values
|
||||
|
||||
@@ -113,9 +113,6 @@ namespace BlackCore
|
||||
//! Client started?
|
||||
bool isStarted() const { return m_isStarted; }
|
||||
|
||||
//! When started
|
||||
const QDateTime &getStartDateTimeUtc() const { return m_startDateTimeUtc; }
|
||||
|
||||
//! Muted
|
||||
//! \threadsafe
|
||||
//! @{
|
||||
@@ -411,8 +408,6 @@ namespace BlackCore
|
||||
std::atomic_bool m_winCoInitialized { false }; //!< Windows only CoInitializeEx
|
||||
std::atomic_bool m_integratedComUnit { false }; //!< is COM unit sychronized, integrated?
|
||||
|
||||
QDateTime m_startDateTimeUtc;
|
||||
|
||||
double m_inputVolumeDb = 0.0;
|
||||
int m_outputMasterVolumeNormalized = 0;
|
||||
int m_outputVolumeCom1Normalized = 0;
|
||||
|
||||
Reference in New Issue
Block a user