mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-07 09:05:57 -05:00
fix invalid audio matches
This commit is contained in:
@@ -106,7 +106,7 @@ void SwitcherData::checkAudioSwitch(bool &match, OBSWeakSource &scene,
|
||||
(s.matchCount * (unsigned int)interval) / 1000.0 >=
|
||||
s.duration;
|
||||
|
||||
if (durationReached && audioActive) {
|
||||
if (volumeThresholdreached && durationReached && audioActive) {
|
||||
scene = (s.usePreviousScene) ? previousScene : s.scene;
|
||||
transition = s.transition;
|
||||
match = true;
|
||||
|
||||
Reference in New Issue
Block a user