base for cruft removal
This commit is contained in:
parent
33f3d8216f
commit
6ebe2604e7
2 changed files with 11 additions and 8 deletions
|
|
@ -609,13 +609,15 @@ void Overseer::reloadEndpoints(Flows flow) {
|
|||
|
||||
deviceCollection->Release();
|
||||
//IPolicyConfig7 test
|
||||
deviceEnumerator->GetDefaultAudioEndpoint(MSflow, ERole::eCommunications, &temp);
|
||||
LPWSTR tempString = nullptr;
|
||||
temp->GetId(&tempString);
|
||||
HRESULT hre = policyConfig->SetDefaultEndpoint(
|
||||
tempString,
|
||||
ERole::eMultimedia
|
||||
);
|
||||
/*
|
||||
* deviceEnumerator->GetDefaultAudioEndpoint(MSflow, ERole::eCommunications, &temp);
|
||||
* LPWSTR tempString = nullptr;
|
||||
* temp->GetId(&tempString);
|
||||
* HRESULT hre = policyConfig->SetDefaultEndpoint(
|
||||
* tempString,
|
||||
* ERole::eMultimedia
|
||||
* );
|
||||
*/
|
||||
|
||||
/*
|
||||
* Discerning default endpoints per role
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue