mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
This changes Mumble on Windows to run a helper process, mumble_ol.exe, instead of loading mumble_ol.dll itself. Prior to this change, Mumble would load mumble_ol.dll and call PrepareD3D9() and PrepareDXGI() to set up the overlay. Then, if the overlay was enabled, it would call InstallHooks() to enable automatic injection of the overlay into new processes. Similarly, it would call RemoveHooks() to disable automatic overlay injection when the overlay was disabled in Mmuble. With this change, Mumble instead runs a helper process called mumble_ol.exe. This process sets up the overlay (equivalent to calling PrepareD3D9(), PrepareDXGI() and calling InstallHooks()). While running, it'll automatically inject the overlay into new processes, just like Mumble itself did previously. On normal exit, the helper process calls RemoveHooks() to ensure automatic overlay injection is disabled. To enable the overlay, Mumble starts the helper process. To disable the overlay, Mumble terminates the helper process. If the helper process dies when it is supposed to be running, Mumble restarts it to ensure that overlay injection keeps working as intended. This change is the first part of enabling both an x86 and an x64 overlay to be active in Mumble at the same time. Since we cannot load a 32-bit DLL into a 64-bit process (or vice versa), we need a helper process for each architecture to reach our goal. Note however that this commit in itself does not make it possible for Mumble to run both an x86 and an x64 overlay at the same time. This will come later. |
||
|---|---|---|
| .. | ||
| Translations | ||
| bannrbmp.bmp | ||
| build_installer.pl | ||
| dlgbmp.bmp | ||
| Files.wxs | ||
| gpl.rtf | ||
| gpl.txt | ||
| lgpl.txt | ||
| MumbleInstall.sln | ||
| MumbleInstall.wixproj | ||
| Plugins.wxs | ||
| portaudio.txt | ||
| Product.wxs | ||
| qos.reg | ||
| qt.txt | ||
| Settings.wxi | ||
| speex.txt | ||
| UI.wxs | ||