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

Augment audio queue size, fixes quality issues

Closes #690
This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-11-13 20:21:28 +01:00
parent c550658e38
commit 858971fd94
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -558,7 +558,7 @@ void Core::playAudioBuffer(ALuint alSource, const int16_t *data, int samples, un
alDeleteBuffers(processed - 1, bufids + 1); alDeleteBuffers(processed - 1, bufids + 1);
bufid = bufids[0]; bufid = bufids[0];
} }
else if(queued < 16) else if(queued < 128)
{ {
alGenBuffers(1, &bufid); alGenBuffers(1, &bufid);
} }