internal AudioMeterInformation(IAudioMeterInformation realInterface)
        {
            int HardwareSupp;

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

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

            this._AudioMeterInformation = realInterface;
            Marshal.ThrowExceptionForHR(this._AudioMeterInformation.QueryHardwareSupport(out num));
            this._HardwareSupport = (EEndpointHardwareSupport)num;
            this._Channels        = new AudioMeterInformationChannels(this._AudioMeterInformation);
        }