mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
trigger muxer on color changes
Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>
This commit is contained in:
@@ -357,8 +357,10 @@ void Hyperion::setColor(int priority, const ColorRgb &color, const int timeout_m
|
||||
// register color
|
||||
registerInput(priority, hyperion::COMP_COLOR, origin);
|
||||
|
||||
// write color to muxer
|
||||
// write color to muxer & queuePush
|
||||
setInput(priority, ledColors, timeout_ms);
|
||||
if(timeout_ms <= 0)
|
||||
_muxer.queuePush();
|
||||
}
|
||||
|
||||
const QStringList & Hyperion::getAdjustmentIds() const
|
||||
|
@@ -155,8 +155,8 @@ bool HyperionIManager::deleteInstance(const quint8& inst)
|
||||
if(!isInstAllowed(inst))
|
||||
return false;
|
||||
|
||||
// stop it if required as blocking
|
||||
stopInstance(inst, true);
|
||||
// stop it if required as blocking and wait
|
||||
if (stopInstance(inst, true));
|
||||
|
||||
if(_instanceTable->deleteInstance(inst))
|
||||
{
|
||||
|
Reference in New Issue
Block a user