internal AudioMeterInformation(IAudioMeterInformation realInterface) { audioMeterInformation = realInterface; Marshal.ThrowExceptionForHR(audioMeterInformation.QueryHardwareSupport(out var hardwareSupp)); HardwareSupport = (EEndpointHardwareSupport)hardwareSupp; PeakValues = new AudioMeterInformationChannels(audioMeterInformation); }
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); }