polling data source vector'd and moved to eph
This commit is contained in:
parent
fb7108768a
commit
7bc65a13b0
4 changed files with 41 additions and 53 deletions
|
|
@ -1,12 +1,6 @@
|
|||
#pragma once
|
||||
#define invoke_mem_fn(object,ptrToMember) ((object).*(ptrToMember))
|
||||
#define pinvoke_mem_fn(object,ptrToMember) ((object)->*(ptrToMember))
|
||||
|
||||
/* #ifndef QTBLESSED */
|
||||
/* //#define Q_OBJECT */
|
||||
/* class QWidget{}; */
|
||||
/* class QMainWindow{}; */
|
||||
/* #endif */
|
||||
//#define invoke_mem_fn(object,ptrToMember) ((object).*(ptrToMember))
|
||||
//#define pinvoke_mem_fn(object,ptrToMember) ((object)->*(ptrToMember))
|
||||
|
||||
class EndpointWidget;
|
||||
class Endpoint;
|
||||
|
|
@ -31,7 +25,7 @@ struct BackEndpointCallbackInfo {
|
|||
bool muted;
|
||||
float mainVolume;
|
||||
size_t channels;
|
||||
float* channelVolumes = nullptr;
|
||||
std::vector<float> channelVolumes;
|
||||
};
|
||||
|
||||
class EndpointHandler {
|
||||
|
|
@ -43,6 +37,7 @@ public:
|
|||
EndpointCallback *epc = nullptr;
|
||||
//std::wstring epName;
|
||||
|
||||
BackEndpointCallbackInfo* getCallbackInfo();
|
||||
uint32_t getChannelCount();
|
||||
|
||||
void setIndex(uint64_t idx);
|
||||
|
|
@ -59,11 +54,8 @@ public:
|
|||
~EndpointHandler();
|
||||
private:
|
||||
uint64_t idx;
|
||||
BackEndpointCallbackInfo callbackInfo;
|
||||
//QSlider *slidy;
|
||||
|
||||
//signals:
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -77,10 +69,6 @@ public:
|
|||
uint64_t getPlaybackEndpointsCount();
|
||||
void reloadEndpointHandlers();
|
||||
NGuid* getGuid();
|
||||
|
||||
//TODO: A EPH
|
||||
BackEndpointCallbackInfo** callbackInfo = nullptr;
|
||||
int callbackInfoSize = 0;
|
||||
|
||||
private:
|
||||
static Overseer os;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue