code cleanup; channels callback coalesced again
This commit is contained in:
parent
c4b1c4b796
commit
831dceb89a
6 changed files with 58 additions and 55 deletions
|
|
@ -71,7 +71,7 @@ public:
|
|||
void updateMainVolume(float newValue);
|
||||
void updateChannelVolume(uint32_t channel, float newValue);
|
||||
void updateMute(bool muted);
|
||||
void toggleFrontEvents(bool active);
|
||||
//void toggleFrontEvents(bool active);
|
||||
|
||||
//void populateEndpointWidget(EndpointHandler *eph);
|
||||
//void setEndpointHandlers(std::vector<EndpointHandler*> *ephs);
|
||||
|
|
@ -84,18 +84,12 @@ private:
|
|||
uint64_t idx;
|
||||
//std::vector<EndpointHandler*> *ephs;
|
||||
//std::vector<QSlider> *sliders;
|
||||
|
||||
|
||||
//signals:
|
||||
//void valueChanged(int value);
|
||||
|
||||
};
|
||||
|
||||
typedef void (EndpointWidget::*epwMuteFunc)(bool muted);
|
||||
typedef void (EndpointWidget::*epwMainVolumeFunc)(float newValue);
|
||||
typedef void (EndpointWidget::*epwChannelVolumeFunc)(uint32_t channel, float newValue);
|
||||
typedef void (EndpointWidget::*epwToggleFrontFunc)(bool active);
|
||||
|
||||
class MainWindow : public QMainWindow {
|
||||
Q_OBJECT
|
||||
//QWidget *centralWidget;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue