fix: immediate compressor apply + dead code removal + qDebug→DEBUG_* conversion

This commit is contained in:
Evgeny committed 2026-07-27 12:11:50 +03:00
1 parent 5ec1cb78be
commit d5b97ff104
6 files changed
+33 -14

No files matched your search

+4 -4
View File
@@ -222,9 +222,9 @@ void MainWindow::setupSoundFromConfig() {
m_recorder->compressor()->configure(compCfg);
}
}
qDebug("MainWindow: AudioRecorder initialized (captureDevice=%d, opusPreset=%d, compressor=%d)",
m_recorder->captureDeviceIndex(), VoiceEncoder::preset(),
m_recorder->isCompressorEnabled() ? 1 : 0);
DEBUG_INFO(DEBUG_CATEGORY_DEBUG, "AudioRecorder initialized (captureDevice=%d, opusPreset=%d, compressor=%d)",
m_recorder->captureDeviceIndex(), VoiceEncoder::preset(),
m_recorder->isCompressorEnabled() ? 1 : 0);
}
}
@@ -371,7 +371,7 @@ void MainWindow::showJoinDialog() {
}
void MainWindow::showSettings() {
SettingsDialog dlg(m_cfgPath, m_db, m_node, this);
SettingsDialog dlg(m_cfgPath, m_db, m_node, m_recorder, this);
dlg.exec();
reloadChannels();
}