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:
parent
61eb302ff7
commit
868381fe3f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user