MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / checkAudioSwitchFallback

Method checkAudioSwitchFallback

lib/legacy/switch-audio.cpp:100–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void SwitcherData::checkAudioSwitchFallback(OBSWeakSource &scene,
101 OBSWeakSource &transition)
102{
103 if (audioFallback.duration.DurationReached()) {
104 scene = audioFallback.getScene();
105 transition = audioFallback.transition;
106
107 if (VerboseLoggingEnabled()) {
108 audioFallback.logMatch();
109 }
110 }
111}
112
113bool SwitcherData::checkAudioSwitch(OBSWeakSource &scene,
114 OBSWeakSource &transition)

Callers

nothing calls this directly

Calls 4

VerboseLoggingEnabledFunction · 0.85
getSceneMethod · 0.80
logMatchMethod · 0.80
DurationReachedMethod · 0.45

Tested by

no test coverage detected