endpoint add/remove foundational work
This commit is contained in:
parent
d2ff934cd9
commit
b6a6ff6769
6 changed files with 103 additions and 96 deletions
|
|
@ -40,7 +40,7 @@ class Endpoint {
|
|||
void setMute(NGuid guid, bool muted);
|
||||
bool getMute();
|
||||
void setState(uint8_t state);
|
||||
uint8_t getState();
|
||||
size_t getState();
|
||||
uint8_t getRoles();
|
||||
void setRoles(Roles role);
|
||||
void assignRoles(uint8_t role);
|
||||
|
|
@ -52,13 +52,13 @@ class Endpoint {
|
|||
~Endpoint();
|
||||
|
||||
private:
|
||||
uint32_t channelCount;
|
||||
uint32_t channelCount = 0;
|
||||
IMMDevice* endpoint;
|
||||
IAudioEndpointVolume *endpointVolume ;
|
||||
IPropertyStore *properties;
|
||||
std::wstring friendlyName;
|
||||
std::wstring endpointId;
|
||||
uint8_t endpointState;
|
||||
unsigned long endpointState;
|
||||
uint8_t endpointRoles = 0;
|
||||
uint64_t idx;
|
||||
// LPWSTR endpointID = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue