public int QueryHardwareSupport()
        {
            int result;

            Marshal.ThrowExceptionForHR(_AudioMeterInformation.QueryHardwareSupport(out result));
            return(result);
        }
Ejemplo n.º 2
0
        internal AudioMeterInformation(IAudioMeterInformation realInterface)
        {
            int HardwareSupp;

            _AudioMeterInformation = realInterface;
            Marshal.ThrowExceptionForHR(_AudioMeterInformation.QueryHardwareSupport(out HardwareSupp));
            _HardwareSupport = (EEndpointHardwareSupport)HardwareSupp;
            _Channels        = new AudioMeterInformationChannels(_AudioMeterInformation);
        }
Ejemplo n.º 3
0
		internal AudioMeterInformation(IAudioMeterInformation realInterface)
		{
			int HardwareSupp;

			_AudioMeterInformation = realInterface;
			Marshal.ThrowExceptionForHR(_AudioMeterInformation.QueryHardwareSupport(out HardwareSupp));
			_HardwareSupport = (EEndpointHardwareSupport) HardwareSupp;
			_Channels = new AudioMeterInformationChannels(_AudioMeterInformation);
		}
Ejemplo n.º 4
0
        internal AudioMeterInformation(IAudioMeterInformation realInterface)
        {
            audioMeterInformation = realInterface;
            int hardwareSupp;

            Marshal.ThrowExceptionForHR(audioMeterInformation.QueryHardwareSupport(out hardwareSupp));
            HardwareSupport = (EEndpointHardwareSupport)hardwareSupp;
            PeakValues      = new AudioMeterInformationChannels(audioMeterInformation);
        }
Ejemplo n.º 5
0
        internal AudioMeterInformation(IAudioMeterInformation realInterface)
        {
            ComThread.Assert();
            uint hardwareSupp;

            _audioMeterInformation = realInterface;
            Marshal.ThrowExceptionForHR(_audioMeterInformation.QueryHardwareSupport(out hardwareSupp));
            _hardwareSupport = (EndpointHardwareSupport)hardwareSupp;
            _channels        = new AudioMeterInformationChannels(_audioMeterInformation);
        }
Ejemplo n.º 6
0
        internal AudioMeterInformation(IAudioMeterInformation realInterface)
        {
            ComThread.Assert();
            uint hardwareSupp;

            _audioMeterInformation = realInterface;
            Marshal.ThrowExceptionForHR(_audioMeterInformation.QueryHardwareSupport(out hardwareSupp));
            _hardwareSupport = (EndpointHardwareSupport)hardwareSupp;
            _channels = new AudioMeterInformationChannels(_audioMeterInformation);
        }