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:
parent
3f11eab454
commit
fa7ad85867
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user