1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

remove outcommented code

This commit is contained in:
Nils Fenner 2015-10-18 11:14:26 +02:00
parent 932d9b7c9b
commit 2a2cba3cf2
No known key found for this signature in database
GPG Key ID: 9591A163FF9BE04C
2 changed files with 1 additions and 7 deletions

View File

@ -188,7 +188,7 @@ void Audio::openInput(const QString& inDevDescr)
core->resetCallSources(); // Force to regen each group call's sources
// Restart the capture if necessary
if (/*userCount.load() != 0 && */alInDev)
if (alInDev)
{
alcCaptureStart(alInDev);
}

View File

@ -80,12 +80,6 @@ Core::Core(QThread *CoreThread, Profile& profile) :
calls[i].sendAudioTimer = new QTimer();
calls[i].sendAudioTimer->moveToThread(coreThread);
}
// OpenAL init
//QString outDevDescr = Settings::getInstance().getOutDev();
//Audio::openOutput(outDevDescr);
//QString inDevDescr = Settings::getInstance().getInDev();
//Audio::openInput(inDevDescr);
}
void Core::deadifyTox()