Пример #1
0
 private void SetProgramInput(StringObjectPair <long> program)
 {
     if (m_mixEffectBlock1 != null)
     {
         if (!this.CurrentProgram.Equals(program))
         {
             m_mixEffectBlock1.SetInt(_BMDSwitcherMixEffectBlockPropertyId.bmdSwitcherMixEffectBlockPropertyIdProgramInput,
                                      program.value);
             this.CurrentProgram = program;
         }
     }
 }
Пример #2
0
        public void SetProgramInput(string name)
        {
            StringObjectPair <long> program = _programs.First(i => String.Equals(i.name, name, StringComparison.OrdinalIgnoreCase));

            SetProgramInput(program);
        }