Regression was introduced in 91c85ec86b
The openal-soft version 1.19.1 tried to use semaphores created by sem_init,
which are not supported on macOS, so they just didn't work at all. This was
leading to an event loop thread spin-waiting instead of a normal sem_wait.
In the v1.19 upstream branch GCD semaphores are used on macOS.
We ask the developer to obtain his own api credentials, because
the bundled 'api_id' / 'api_hash' are strictly limited by the server.
The old credentials still could be used for test purposes,
but the developer will need to explicitly opt-in to use them.
Some tests were disabled by a crashpad patch because the changes to make
them work with new SDK are relatively big and no need to backport them.
Fixes#4353.
To be able to run on the same distributions as before we need to have
the same GLIBC version dependency as in Ubuntu 12.04, which is 2.15.
For that we need to remove all usages of GLIBC features from 2.16 and above.
Currently there are three methods used, so they're wrapped in a separate
static library, linux_glibc_wraps.
It is a separate library because it must be compiled without '-flto' flag,
otherwise the inline __asm__ is not working and we get unresolved symbols.
* Added installation command for libtool and automake: #3437
* Fixed git url for FFmpeg libva.git. The project was moved to https://github.com/01org/libva.git#3436
Signed-off-by: Evgenij Protasevich <proeatalk@gmail.com> (github: proea)
After adding the libtgvoip submodule its project was created by GYP
outside the project folder, because the relative path to libtgvoip.gyp
is "../ThirdParty/libtgvoip/" and projects are created in the same
relative folders.
Now we place MSVC and Xcode projects in tdesktop/Telegram, so the
libtgvoip project is created at tdesktop/ThirdParty/libtgvoip.
Also add some more decoders in ffmpeg configuration (wav).
Also stop audio device restart on PKEY_AudioEndpoint changes.
Also deduce channel layout from channel count in ffmpeg loaders.
* Update building-msvc.md
Fixed some wrong, missing or unclear parts. Based on the problems I came into when trying to build and configure everything.
Ninja not in path - from #3237
Newer msys - from #3247
Telegram.sln - from #2811
* Updated from the PR comments and added a signature
Signed-off-by: Ariel Jannai <arieljannai@gmail.com> (github: arieljannai)
* Updated by the latest comments from the PR
Signed-off-by: Ariel Jannai <arieljannai@gmail.com> (github: arieljannai)