mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Use OpenAL without direct channels
This commit is contained in:
parent
5b39c7013a
commit
5bb1c77199
1 changed files with 2 additions and 1 deletions
|
@ -314,7 +314,8 @@ void Mixer::Track::createStream(AudioMsgId::Type type) {
|
|||
alSource3f(stream.source, AL_POSITION, 0, 0, 0);
|
||||
alSource3f(stream.source, AL_VELOCITY, 0, 0, 0);
|
||||
alSourcei(stream.source, AL_LOOPING, 0);
|
||||
alSourcei(stream.source, AL_DIRECT_CHANNELS_SOFT, 1);
|
||||
alSourcei(stream.source, AL_SOURCE_RELATIVE, 1);
|
||||
alSourcei(stream.source, AL_ROLLOFF_FACTOR, 0);
|
||||
alGenBuffers(3, stream.buffers);
|
||||
#ifndef TDESKTOP_DISABLE_OPENAL_EFFECTS
|
||||
if (speedEffect) {
|
||||
|
|
Loading…
Add table
Reference in a new issue