base for cruft removal

This commit is contained in:
Hane 2024-05-11 22:39:49 +02:00
commit 6ebe2604e7
2 changed files with 11 additions and 8 deletions

View file

@ -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