private void GetAudioEndpointVolume() { object result; Marshal.ThrowExceptionForHR(_RealDevice.Activate(ref IID_IAudioEndpointVolume, ClsCtx.All, IntPtr.Zero, out result)); //_AudioEndpointVolume = new AudioEndpointVolume(result as IAudioEndpointVolume); _AudioEndpointVolume = new AudioEndpointVolume(result as IAudioEndpointVolume); }
internal AudioEndpointVolumeCallback(AudioEndpointVolume _parent) { parent = _parent; }