pgaskin / pulseaudio-win32

An up-to-date PulseAudio build for Windows with an installer, service, socket support, bug fixes, and new features.
https://pgaskin.net/pulseaudio-win32
MIT License
73 stars 6 forks source link

Better Windows Service integration #2

Closed pgaskin closed 3 years ago

pgaskin commented 3 years ago
pgaskin commented 3 years ago

I found a bug in PulseAudio's pa_set_env while working on this (the env vars used for system mode weren't taking effect): it should use putenv (or putenv_s) rather than SetEnvironmentVariable on win32 so getenv can read the changed values.

Also see https://github.com/curl/curl/issues/4774.

pgaskin commented 3 years ago

Done in 27bfdd0bace421022ab95da52c5b7ac0bdb94ced.