defaults working as expected. bruh
This commit is contained in:
parent
f620a0575d
commit
fc63875851
3 changed files with 70 additions and 35 deletions
|
|
@ -295,7 +295,13 @@ void Endpoint::setRoles(Roles role){
|
|||
std::wstring command = L"SoundVolumeView.exe /SetDefault " + endpointId + L" ";
|
||||
switch (role) {
|
||||
case Roles::ROLE_ALL:
|
||||
command += L"all";
|
||||
/*
|
||||
* one sends both, at least for now;
|
||||
* either cos of ms or dis guy, no choice
|
||||
* but to treat them as one for now
|
||||
* command += L"all";
|
||||
*/
|
||||
command += L"0 1";
|
||||
break;
|
||||
case Roles::ROLE_CONSOLE:
|
||||
command += std::to_wstring(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue