broken: play dj outside, get it stuck

This commit is contained in:
Hane 2023-08-14 16:10:35 +02:00
commit e30ed58c08
5 changed files with 58 additions and 12 deletions

View file

@ -100,7 +100,6 @@ void OverseerHandler::reloadEndpointHandlers(){
//setEndpointHandlers(ephs);
}
NGuid* OverseerHandler::getGuid() {
return this->os.getGuid();
}
@ -128,7 +127,16 @@ void OverseerHandler::updateMainVolumeCallback(uint64_t idx, float newVal){
void OverseerHandler::updateChannelVolumeCallback(uint64_t idx, uint32_t channel, float newVal){
//int translatedNewVal = newVal * 100;
log_debugcpp("chanel: " << channel << " volcallback float: " << newVal);
epwChannelVolumeFunc f = &EndpointWidget::updateChannelVolume;
std::invoke(f, endpointWidgets.at(idx), channel, newVal);
//TODO: Soy retrasado
//endpointWidgets.at(idx)->updateChannelVolume(channel, newVal);
}
void OverseerHandler::toggleFrontEvents(uint64_t idx, bool active) {
epwToggleFrontFunc f = &EndpointWidget::toggleFrontEvents;
std::invoke(f, endpointWidgets.at(idx), active);
}