/// <summary> /// Creates player with duplicated output to window. /// </summary> /// <param name="window">Window where rendering goes.</param> /// <exception cref="ArgumentNullException"><see cref="window"/> parameter is null.</exception> public PlayerOutput(MediaWindow window) { if (window == null) { throw new ArgumentNullException("window"); } // this.window = window; }