This project is based on:
https://github.com/PcVolumeControl
The server has been updated to run on .NET 8 and can be installed as a service.
The following packages have been updated:
Package | Updated Version | Previous Version |
---|---|---|
AudioSwitcher.AudioApi | 4.0.0-alpha5 | 3.0.0 |
AudioSwitcher.AudioApi.CoreAudio | 4.0.0-alpha5 | 3.0.0.1 |
This helps reduce the continuous background CPU usage used by the current stable version of these packages.
dotnet build -c Release
dotnet publish -c Release -r win-x64 --no-self-contained
OR
dotnet build -c Release && dotnet publish -c Release -r win-x64 --no-self-contained
sc create PcVolumeControlService BinPath="<path-to-repository>\PcVolumeControlService\bin\Release\net8.0\win-x64\publish\PcVolumeControlService.exe"
sc start PcVolumeControlService
sc stop PcVolumeControlService
sc delete PcVolumeControlService