private void cutBut_Click(object sender, RoutedEventArgs e) { if (m_mixEffectBlock1 != null) { m_mixEffectBlock1.PerformCut(); //System.Threading.Thread.Sleep(500); //m_mixEffectBlock1.GetInt(_BMDSwitcherMixEffectBlockPropertyId.bmdSwitcherMixEffectBlockPropertyIdPreviewInput, out currentPreview); //setCurrent Program ID //m_mixEffectBlock1.GetInt(_BMDSwitcherMixEffectBlockPropertyId.bmdSwitcherMixEffectBlockPropertyIdProgramInput, out currentProgram); //updateProgPrevUI(currentPreview, false); //updateProgPrevUI(currentProgram, true); } }
public void SwitchView(long inputId, bool switchFast = false) { if (m_mixEffectBlock1 != null) { m_mixEffectBlock1.SetPreviewInput(inputId); } if (m_mixEffectBlock1 != null) { if (switchFast == false) { m_mixEffectBlock1.PerformAutoTransition(); } else { m_mixEffectBlock1.PerformCut(); } } }
public void CutButton() { m_mixEffectBlock.PerformCut(); ProgramPreviewChanged(); }