/// <summary> /// Returns current resource usage details, such as available memory or CPU usage. /// </summary> /// <param name="performanceData"> /// On success, pointer to an <see cref="AudioSharp.XAudio2.PerformanceData" /> structure that is /// returned. /// </param> /// <returns>HRESULT</returns> public override unsafe void GetPerformanceDataNative(out PerformanceData performanceData) { performanceData = default(PerformanceData); //initialize performanceData to fix compiler error fixed(void *p = &performanceData) { LocalInterop.Calli5(UnsafeBasePtr, p, ((void **)(*(void **)UnsafeBasePtr))[14]); } }
/// <summary> /// Returns current resource usage details, such as available memory or CPU usage. /// </summary> /// <param name="performanceData"> /// On success, pointer to an <see cref="AudioSharp.XAudio2.PerformanceData" /> structure that is /// returned. /// </param> /// <returns>HRESULT</returns> public abstract void GetPerformanceDataNative(out PerformanceData performanceData);