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

alsourcef in audio::playmono16sound

This commit is contained in:
agilob 2015-05-11 20:30:37 +01:00
parent 3f11eab454
commit fa7ad85867

View File

@ -235,6 +235,7 @@ void Audio::playMono16Sound(const QByteArray& data)
alSourcei(alMainSource, AL_BUFFER, buffer);
alSourcePlay(alMainSource);
alDeleteBuffers(1, &buffer);
alSourcef(alMainSource, AL_GAIN, outputVolume);
}
void Audio::playGroupAudioQueued(Tox*,int group, int peer, const int16_t* data,