File tree Expand file tree Collapse file tree 4 files changed +5
-25
lines changed Expand file tree Collapse file tree 4 files changed +5
-25
lines changed Original file line number Diff line number Diff line change @@ -1329,9 +1329,6 @@ namespace swift::core::afv::clients
1329
1329
// void rounding issues from float/double
1330
1330
quint32 roundedFrequencyHz = static_cast <quint32>(qRound (frequencyHz / 1000.0 )) * 1000 ;
1331
1331
1332
- // disabled?
1333
- if (!m_enableAliased) { return roundedFrequencyHz; }
1334
-
1335
1332
// change to aliased frequency if needed
1336
1333
{
1337
1334
QMutexLocker lock (&m_mutex);
Original file line number Diff line number Diff line change @@ -179,13 +179,6 @@ namespace swift::core::afv::clients
179
179
QSet<quint16> getEnabledTransceivers () const ;
180
180
// ! @}
181
181
182
- // ! @{
183
- // ! Aliased stations enabled?
184
- // ! \threadsafe
185
- bool isAliasedStationsEnabled () const { return m_enableAliased; }
186
- void enableAliasedStations (bool enabled) { m_enableAliased = enabled; }
187
- // ! @}
188
-
189
182
// ! @{
190
183
// ! Update frequency
191
184
// ! \threadsafe
@@ -411,7 +404,6 @@ namespace swift::core::afv::clients
411
404
std::atomic_int m_heartBeatFailures { 0 }; // !< voice server heartbeat failures
412
405
std::atomic_bool m_isStarted { false };
413
406
std::atomic_bool m_loopbackOn { false };
414
- std::atomic_bool m_enableAliased { true };
415
407
std::atomic_bool m_winCoInitialized { false }; // !< Windows only CoInitializeEx
416
408
std::atomic_bool m_integratedComUnit { false }; // !< is COM unit sychronized, integrated?
417
409
Original file line number Diff line number Diff line change @@ -80,10 +80,11 @@ namespace swift::core::context
80
80
{
81
81
Q_UNUSED (originator)
82
82
if (commandLine.isEmpty ()) { return false ; }
83
- CSimpleCommandParser parser ({ " .vol" , " .volume" , // output volume
84
- " .mute" , // mute
85
- " .unmute" , // unmute
86
- " .aliased" });
83
+ CSimpleCommandParser parser ({
84
+ " .vol" , " .volume" , // output volume
85
+ " .mute" , // mute
86
+ " .unmute" , // unmute
87
+ });
87
88
parser.parse (commandLine);
88
89
if (!parser.isKnownCommand ()) { return false ; }
89
90
@@ -103,14 +104,6 @@ namespace swift::core::context
103
104
this ->setMasterOutputVolume (v);
104
105
return true ;
105
106
}
106
- else if (afvClient () && parser.matchesCommand (" .aliased" ) && parser.countParts () > 1 )
107
- {
108
- const bool enable = parser.toBool (1 , true );
109
- afvClient ()->enableAliasedStations (enable);
110
-
111
- CLogMessage (this ).info (u" Aliased stations are: %1" ) << boolToOnOff (enable);
112
- return true ;
113
- }
114
107
return false ;
115
108
}
116
109
Original file line number Diff line number Diff line change @@ -233,7 +233,6 @@ namespace swift::core
233
233
swift::misc::CSimpleCommandParser::registerCommand ({ " .mute" , " mute audio" });
234
234
swift::misc::CSimpleCommandParser::registerCommand ({ " .unmute" , " unmute audio" });
235
235
swift::misc::CSimpleCommandParser::registerCommand ({ " .vol volume" , " volume 0..100" });
236
- swift::misc::CSimpleCommandParser::registerCommand ({ " .aliased on|off" , " aliased HF frequencies" });
237
236
}
238
237
239
238
// -------- parts which can run in core and GUI, referring to local voice client ------------
@@ -248,7 +247,6 @@ namespace swift::core
248
247
// ! .mute mute swift::core::context::CContextAudioBase
249
248
// ! .unmute unmute swift::core::context::CContextAudioBase
250
249
// ! .vol .volume volume 0..100 set volume swift::core::context::CContextAudioBase
251
- // ! .aliased on|off aliased stations swift::core::context::CContextAudioBase
252
250
// ! </pre>
253
251
virtual bool parseCommandLine (const QString &commandLine,
254
252
const swift::misc::CIdentifier &originator) override ;
You can’t perform that action at this time.
0 commit comments