public override sealed void SetStandardValues() { SoundOutDeviceID = "-0"; DisableNotificationInGame = true; ShowMagicArrowBelowCursor = true; WaveSourceBits = 16; SampleRate = -1; var language = Languages.FirstOrDefault(x => x.Code == Thread.CurrentThread.CurrentCulture.TwoLetterISOLanguageName); Language = language == null ? "en" : language.Code; Notification = NotificationType.Top; ApplicationDesign = new ApplicationDesign(); ApplicationDesign.SetStandard(); NotificationShowTime = 5000; RememberTrackImportPlaylist = false; PlaylistToImportTrack = null; LoadAlbumCoverFromInternet = true; DownloadAlbumCoverQuality = ImageQuality.Maximum; SaveCoverLocal = false; TrimTrackname = true; ShowArtistAndTitle = true; SoundOutMode = CSCore.SoundOut.WasapiOut.IsSupportedOnCurrentPlatform ? SoundOutMode.WASAPI : SoundOutMode.DirectSound; Latency = 100; IsCrossfadeEnabled = false; CrossfadeDuration = 4; UseThinHeaders = true; MinimizeToTray = false; ShowNotificationIfMinimizeToTray = true; Downloader = new DownloadManager(); TabControlTransition = TransitionType.Left; ShowProgressInTaskbar = true; AppCommunicationSettings = new AppCommunicationSettings(); AppCommunicationSettings.SetStandard(); }
public override sealed void SetStandardValues() { SoundOutDeviceID = SoundOutManager.DefaultDevicePlaceholder; DisableNotificationInGame = true; ShowMagicArrowBelowCursor = true; WaveSourceBits = 16; SampleRate = -1; var language = Languages.FirstOrDefault(x => x.Code == Thread.CurrentThread.CurrentCulture.TwoLetterISOLanguageName); Language = language == null ? "zh" : language.Code; Notification = NotificationType.Top; ApplicationDesign = new ApplicationDesign(); ApplicationDesign.SetStandard(); NotificationShowTime = 5000; RememberTrackImportPlaylist = false; PlaylistToImportTrack = null; LoadAlbumCoverFromInternet = true; DownloadAlbumCoverQuality = ImageQuality.Maximum; SaveCoverLocal = true; TrimTrackname = true; ShowArtistAndTitle = true; SoundOutMode = WasapiOut.IsSupportedOnCurrentPlatform ? SoundOutMode.WASAPI : SoundOutMode.DirectSound; Latency = 100; IsCrossfadeEnabled = false; CrossfadeDuration = 4; UseThinHeaders = true; MinimizeToTray = false; ShowNotificationIfMinimizeToTray = true; Downloader = new DownloadManager(); TabControlTransition = TransitionType.Left; ShowProgressInTaskbar = true; DownloadSettings = new DownloadSettings(); DownloadSettings.SetDefault(); CheckForAnyListenUpdates = true; CheckForYoutubeDlUpdates = true; Passwords = new List <PasswordEntry>(); FileNameFormat = 1; DownloadBitrate = 1; LastUpdateTime = DateTime.MinValue; DownLrc = false; UseXunlei = true; }