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

Attempt to fix #859

This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-11-27 22:48:38 +01:00
parent bc381a8459
commit a560909b6d
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -100,7 +100,10 @@ void Audio::openOutput(const QString& outDevDescr)
else
{
if (alContext)
{
alcMakeContextCurrent(nullptr);
alcDestroyContext(alContext);
}
alContext=alcCreateContext(alOutDev,nullptr);
if (!alcMakeContextCurrent(alContext))
{