Ejemplo n.º 1
0
    private void UpdateProgramButtonSelection()
    {
        long ProgramId;

        m_mixEffectBlock.GetProgramInput(out ProgramId);
        int index = GetSelectButton(ProgramId);

        ProgramDropdown.value = index;
    }
Ejemplo n.º 2
0
        private void OnInTransitionChanged()
        {
            int inTransition;

            m_mixEffectBlock1.GetInTransition(out inTransition);

            if (inTransition == 0)
            {
                long programId;
                int  keyOnnAir;

                m_mixEffectBlock1.GetProgramInput(out programId);
                m_switcherKey.GetOnAir(out keyOnnAir);

                _reportProgrammView?.Invoke(programId, keyOnnAir == 1 ? true : false);

                //long previewId;
                //m_mixEffectBlock1.GetPreviewInput(out previewId);
            }
        }