wip channel callback
This commit is contained in:
parent
312de5ce2c
commit
b4401dd984
6 changed files with 28 additions and 47 deletions
|
|
@ -125,3 +125,10 @@ void OverseerHandler::updateMainVolumeCallback(uint64_t idx, float newVal){
|
|||
epwMainVolumeFunc f = &EndpointWidget::updateMainVolume;
|
||||
std::invoke(f, endpointWidgets.at(idx), 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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue