diff --git a/Telegram/SourceFiles/media/audio/media_audio.cpp b/Telegram/SourceFiles/media/audio/media_audio.cpp index 2ff60a1be..9356bfc78 100644 --- a/Telegram/SourceFiles/media/audio/media_audio.cpp +++ b/Telegram/SourceFiles/media/audio/media_audio.cpp @@ -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) {