broken: play dj outside, get it stuck
This commit is contained in:
parent
67626a34e4
commit
bea0a2af94
5 changed files with 58 additions and 12 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue