full functionality restored, slight cleanup
This commit is contained in:
parent
d1f0bcaf26
commit
1797b39b30
5 changed files with 27 additions and 150 deletions
|
|
@ -77,21 +77,16 @@ public:
|
|||
uint64_t getPlaybackEndpointsCount();
|
||||
void reloadEndpointHandlers();
|
||||
NGuid* getGuid();
|
||||
void setFrontMuteCallback(std::function<void(uint64_t, bool)> f);
|
||||
void setFrontVolumeCallback(std::function<void(uint64_t, uint32_t, float)> f);
|
||||
void setUpdateFrontCallback(std::function<void(uint64_t, BackEndpointCallbackInfo*)> f);
|
||||
|
||||
//TODO: A EPH
|
||||
BackEndpointCallbackInfo** callbackInfo = nullptr;
|
||||
int callbackInfoSize = 0;
|
||||
/* void updateMuteCallback(uint64_t idx, bool muted); */
|
||||
/* void updateVolumeCallback(uint64_t idx, uint32_t channel, float newVal); */
|
||||
//void receiveBackEndpointCallback(uint64_t index);
|
||||
|
||||
private:
|
||||
static Overseer os;
|
||||
std::vector<EndpointHandler*> endpointHandlers;
|
||||
|
||||
std::function<void(uint64_t /* device */, uint32_t /* channel */, float /* value */)> updateFrontVolumeCallback;
|
||||
std::function<void(uint64_t /* device */, bool /* mute */)> updateFrontMuteCallback;
|
||||
//std::function<void(uint64_t /* device */, uint32_t /* channel */, float /* value */)> updateFrontVolumeCallback;
|
||||
//std::function<void(uint64_t /* device */, bool /* mute */)> updateFrontMuteCallback;
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue