/// <summary>
 /// Erzeugt einen Aufzeichnungskontext für eine Quelle.
 /// </summary>
 /// <param name="selection">Die Informationen zur Quelle.</param>
 /// <param name="streams">Die gewünschten Aufzeichnungsparameter.</param>
 /// <returns>Eine Kontrollinstanz für die Aufzeichnung. Diese muss mittels <see cref="IDisposable.Dispose"/>
 /// freigegeben werden.</returns>
 public static SourceStreamsManager Open(this SourceSelection selection, StreamSelection streams)
 {
     // Validate
     if (selection == null)
     {
         throw new ArgumentNullException("selection");
     }
     else
     {
         return(selection.Source.Open(selection.GetHardware(), selection.GetLeafProfile(), streams));
     }
 }