// Constructor public MAudioRenderer(MAudioRendererProperties properties) { this.properties = properties; mediaControl = SystemMediaTransportControls.GetForCurrentView(); client = new M.MAudioClient(); client.Activated += client_Activated; client.BufferReady += client_BufferReady; }
// Constructor public MAudioCapturer() { client = new M.MAudioClient(); client.Activated += client_Activated; client.BufferReady += client_BufferReady; }