void IBMDSwitcherAudioInputCallback.Notify(_BMDSwitcherAudioInputEventType audioType)
        {
            switch (audioType)
            {
            case (_BMDSwitcherAudioInputEventType.bmdSwitcherAudioInputEventTypeBalanceChanged):
                if (BalanceChanged != null)
                {
                    BalanceChanged(this, null);
                }
                break;

            case (_BMDSwitcherAudioInputEventType.bmdSwitcherAudioInputEventTypeGainChanged):
                if (GainChanged != null)
                {
                    GainChanged(this, null);
                }
                break;

            case (_BMDSwitcherAudioInputEventType.bmdSwitcherAudioInputEventTypeIsMixedInChanged):
                if (IsMixedInChanged != null)
                {
                    IsMixedInChanged(this, null);
                }
                break;

            case (_BMDSwitcherAudioInputEventType.bmdSwitcherAudioInputEventTypeMixOptionChanged):
                if (MixOptionChanged != null)
                {
                    MixOptionChanged(this, null);
                }
                break;
            }
        }
Пример #2
0
        void IBMDSwitcherAudioInputCallback.Notify(_BMDSwitcherAudioInputEventType eventType)
        {
            this._switcherAudioInputEventArgs = new SwitcherAudioInputEventArgs();
            switch (eventType)
            {
            case _BMDSwitcherAudioInputEventType.bmdSwitcherAudioInputEventTypeBalanceChanged:
                this.SwitcherAudioInputEventTypeBalanceChanged?.Invoke(this, this._switcherAudioInputEventArgs);
                break;

            case _BMDSwitcherAudioInputEventType.bmdSwitcherAudioInputEventTypeCurrentExternalPortTypeChanged:
                this.SwitcherAudioInputEventTypeCurrentExternalPortTypeChanged?.Invoke(this, this._switcherAudioInputEventArgs);
                break;

            case _BMDSwitcherAudioInputEventType.bmdSwitcherAudioInputEventTypeGainChanged:
                this.SwitcherAudioInputEventTypeGainChanged?.Invoke(this, this._switcherAudioInputEventArgs);
                break;

            case _BMDSwitcherAudioInputEventType.bmdSwitcherAudioInputEventTypeIsMixedInChanged:
                this.SwitcherAudioInputEventTypeIsMixedInChanged?.Invoke(this, this._switcherAudioInputEventArgs);
                break;

            case _BMDSwitcherAudioInputEventType.bmdSwitcherAudioInputEventTypeMixOptionChanged:
                this.SwitcherAudioInputEventTypeMixOptionChanged?.Invoke(this, this._switcherAudioInputEventArgs);
                break;
            }
        }
Пример #3
0
        void IBMDSwitcherAudioInputCallback.Notify(_BMDSwitcherAudioInputEventType audioType)
        {
            switch (audioType)
            {
                case (_BMDSwitcherAudioInputEventType.bmdSwitcherAudioInputEventTypeBalanceChanged):
                    if (BalanceChanged != null)
                        BalanceChanged(this, null);
                    break;

                case (_BMDSwitcherAudioInputEventType.bmdSwitcherAudioInputEventTypeGainChanged):
                    if (GainChanged != null)
                        GainChanged(this, null);
                    break;

                case (_BMDSwitcherAudioInputEventType.bmdSwitcherAudioInputEventTypeIsMixedInChanged):
                    if (IsMixedInChanged != null)
                        IsMixedInChanged(this, null);
                    break;

                case (_BMDSwitcherAudioInputEventType.bmdSwitcherAudioInputEventTypeMixOptionChanged):
                    if (MixOptionChanged != null)
                        MixOptionChanged(this, null);
                    break;
            }
        }
 public void Notify(_BMDSwitcherAudioInputEventType eventType)
 {
     // Ignore
 }