/* 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; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Windows.Forms; using HandBrake.ApplicationServices; using HandBrake.ApplicationServices.Functions; using HandBrake.ApplicationServices.Model; using HandBrake.ApplicationServices.Model.Encoding; using HandBrake.ApplicationServices.Parsing; using HandBrake.ApplicationServices.Services.Interfaces; using HandBrake.ApplicationServices.Utilities; using HandBrake.Interop.Model.Encoding; using Handbrake.ToolWindows; /// /// The AudioPanel Control /// public partial class AudioPanel : UserControl { #region Private Variables /// /// The User Setting Service. /// private readonly IUserSettingService UserSettingService = ServiceManager.UserSettingService; /// /// Audio Tracks /// private readonly BindingList audioTracks = new BindingList(); /// /// Mixdown /// private const string None = "None"; /// /// The Advanced Audio Backing object /// private AdvancedAudio advancedAudio = new AdvancedAudio(); #endregion #region Constructor and Events /// /// Initializes a new instance of the class. /// public AudioPanel() { InitializeComponent(); this.ScannedTracks = new BindingList