/// <summary>
        /// Ermittelt die ausgewählten Quellen.
        /// </summary>
        /// <param name="directory">Optional ein Verzeichnis für die Aufzeichnungsdateien.</param>
        /// <returns>Alle ausgewählten Quellen.</returns>
        public ReceiveInformation[] GetSources(string directory)
        {
            // Create helper
            List <ReceiveInformation> sources = new List <ReceiveInformation>();

            // Process all
            foreach (Control control in Controls)
            {
                // Change type
                SelectStream selector = control as SelectStream;
                if (null == selector)
                {
                    continue;
                }

                // Get the selection
                SourceItem item = selector.Source;
                if (null == item)
                {
                    continue;
                }

                // Construct the information
                sources.Add(
                    new ReceiveInformation
                {
                    RecordingPath = item.GetRecordingPath(directory),
                    SelectionKey  = item.Selection.SelectionKey,
                    Streams       = selector.Selection
                });
            }

            // Report
            return(sources.ToArray());
        }