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)
Something has changed in Qt libraries remote layout so now the perl
init-repository script from the old Qt version doesn't work anymore.
We init the submodules using script from the latest Qt version and
after that we checkout the desired version by tag in all submodules.