guid sent and validated for mute

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

View file

@ -3,8 +3,6 @@
//done by qt by def #define UNICODE
//#include "debug.h"
#include "global.h"
#include "contclasses.h"
/* #include <vector> */
/* #include <iostream> */
/* #include <wstring> */
@ -22,6 +20,7 @@
//#include <comip.h>
#include <Winerror.h>
#include "global.h"
#include "contclasses.h"
class EndpointCallback;
@ -36,7 +35,7 @@ class Endpoint {
/* float getLeftChannelVolume(); */
/* float getRightChannelVolume(); */
float getVolume(int channel);
void setMute();
void setMute(NGuid* guid);
bool getMute();
std::wstring getName();
void setCallback(EndpointCallback *epc);
@ -75,7 +74,7 @@ class Overseer {
Overseer();
std::vector<Endpoint*> getPlaybackEndpoints();
void reloadEndpoints();
NGuid getGuid();
NGuid* getGuid();
//~Overseer();
//int getDefaultPlaybackEndpoint(Endpoint** defaultEndpoint);
//int getDefaultCaptureEndpoint(Endpoint** defaultEndpoint);