/* AudioPanel.cs $ This file is part of the HandBrake source code. Homepage: . It may be used under the terms of the GNU General Public License. */ namespace Handbrake.Controls { using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Windows.Forms; using HandBrake.ApplicationServices.Functions; using HandBrake.ApplicationServices.Model; using HandBrake.ApplicationServices.Model.Encoding; using HandBrake.ApplicationServices.Parsing; using HandBrake.ApplicationServices.Utilities; using Handbrake.ToolWindows; /// /// The AudioPanel Control /// public partial class AudioPanel : UserControl { #region Private Variables private readonly BindingList audioTracks = new BindingList(); private const string AC3Passthru = "AC3 Passthru"; private const string DTSPassthru = "DTS Passthru"; private AdvancedAudio advancedAudio = new AdvancedAudio(); #endregion #region Constructor and Events /// /// Initializes a new instance of the class. /// public AudioPanel() { InitializeComponent(); this.ScannedTracks = new BindingList