示例#1
0
		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);
        }