mute city boton momento

This commit is contained in:
Hane 2023-02-16 20:34:54 +01:00
commit 308a0486b6
7 changed files with 50 additions and 7 deletions

View file

@ -15,6 +15,12 @@ void EndpointHandler::setValue(int channel, int value){
else ept->setVolume(channel, (float)value / 100);
}
void EndpointHandler::setMute(){
//Qt momento, de ahi el param?
log_debugcpp("kinda handling the muting tbh");
ept->setMute();
}
QString EndpointHandler::getName(){
return eptName;
}
@ -23,6 +29,10 @@ float EndpointHandler::getVolume(int channel){
return ept->getVolume(channel);
}
bool EndpointHandler::getMute(){
return ept->getMute();
}
Overseer* OverseerHandler::getOverseer(){
return &os;
}

View file

@ -10,6 +10,7 @@ public:
EndpointHandler(Endpoint *ept, QObject *parent = nullptr);
QString getName();
float getVolume(int channel);
bool getMute();
private:
Endpoint *ept;
@ -18,8 +19,7 @@ private:
public slots:
void setValue(int channel, int value);
void setMute();
//signals: