wip: fixed role setting

This commit is contained in:
Hane 2024-04-17 20:18:29 +02:00
commit 5b3b50a0d2
4 changed files with 64 additions and 49 deletions

View file

@ -426,7 +426,7 @@ void Endpoint::setRoles(Roles role){
SecureZeroMemory(&processInfo, sizeof(PROCESS_INFORMATION));
std::wstring command = L"SoundVolumeView.exe /SetDefault " + endpointId + L" ";
std::wstring troublePair = L"0";
std::wstring troublePair = L"1";
switch (role) {
case Roles::ROLE_ALL:
/*