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

Method SourceChanged

plugins/base/macro-condition-audio.cpp:569–580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

567}
568
569void MacroConditionAudioEdit::SourceChanged(const SourceSelection &source)
570{
571 {
572 GUARD_LOADING_AND_LOCK();
573 _entryData->_audioSource = source;
574 _entryData->ResetVolmeter();
575 }
576 UpdateVolmeterSource();
577 SetWidgetVisibility();
578 emit HeaderInfoChanged(
579 QString::fromStdString(_entryData->GetShortDesc()));
580}
581
582void MacroConditionAudioEdit::VolumePercentChanged(
583 const NumberVariable<double> &vol)

Callers

nothing calls this directly

Calls 2

ResetVolmeterMethod · 0.80
GetShortDescMethod · 0.45

Tested by

no test coverage detected