guid sent and validated for mute

This commit is contained in:
Hane 2023-08-12 12:29:01 +02:00
commit c8d64481e8
7 changed files with 72 additions and 65 deletions

View file

@ -16,8 +16,8 @@ class EndpointHandler {
public:
EndpointHandler(uint64_t idx);
//TODO: get();
Endpoint *ep;
EndpointCallback *epc;
Endpoint *ep = nullptr;
EndpointCallback *epc = nullptr;
//std::wstring epName;
void setIndex(uint64_t idx);
@ -29,7 +29,7 @@ public:
bool getMute();
void setValue(int channel, int value);
void setMute();
void setMute(NGuid* guid);
~EndpointHandler();
private:
uint64_t idx;
@ -50,6 +50,7 @@ public:
std::vector<Endpoint*> getPlaybackEndpoints();
uint64_t getPlaybackEndpointsCount();
void reloadEndpointHandlers();
NGuid* getGuid();
//void parseExternalEndpointCallback(EndpointCallback *epc, PAUDIO_VOLUME_NOTIFICATION_DATA pNotify);
//static Overseer* getOverseer();