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

Audio: Don't need this?

This commit is contained in:
TheSpiritXIII 2015-08-05 10:39:44 -04:00 committed by Nils Fenner
parent 61eb302ff7
commit 868381fe3f
No known key found for this signature in database
GPG Key ID: 9591A163FF9BE04C

View File

@ -333,9 +333,6 @@ void Audio::playGroupAudio(int group, int peer, const int16_t* data,
QMutexLocker lock(audioOutLock);
if (!alOutDev)
return;
ToxGroupCall& call = Core::groupCalls[group];
if (!call.active || call.muteVol)
@ -363,9 +360,6 @@ void Audio::playAudioBuffer(ALuint alSource, const int16_t *data, int samples, u
QMutexLocker lock(audioOutLock);
if (!alOutDev)
return;
ALuint bufid;
ALint processed = 0, queued = 16;
alGetSourcei(alSource, AL_BUFFERS_PROCESSED, &processed);