コード例 #1
0
ファイル: MixerControls.cs プロジェクト: djarik/signlator
		public MixerControl GetControlByType(MIXERCONTROL_CONTROLTYPE type)
		{
			foreach(MixerControl mixerControl in this.InnerList)
				if (mixerControl.Type == type)
					return mixerControl;
			
			return null;
		}
コード例 #2
0
        public MixerControl GetControlByType(MIXERCONTROL_CONTROLTYPE type)
        {
            foreach (MixerControl mixerControl in this.InnerList)
            {
                if (mixerControl.Type == type)
                {
                    return(mixerControl);
                }
            }

            return(null);
        }
コード例 #3
0
        private AudioLineControl GetControlByType(MIXERCONTROL_CONTROLTYPE type)
        {
            foreach (var control in Controls)
            {
                if (control.ControlType == type)
                {
                    return(control);
                }
            }

            return(null);
        }