/// <summary>
        /// The show audio defaults.
        /// </summary>
        public void ShowAudioDefaults()
        {
            AudioDefaultsView view = new AudioDefaultsView();

            view.DataContext = this.AudioDefaultsViewModel;

            if (view.ShowDialog() == true)
            {
                this.OnTabStatusChanged(null);
            }
        }
Beispiel #2
0
        /// <summary>
        /// The edit audio defaults.
        /// </summary>
        public void EditAudioDefaults()
        {
            AudioDefaultsView view = new AudioDefaultsView();

            view.DataContext = this.audioDefaultsViewModel;

            if (view.ShowDialog() == true)
            {
                this.Preset.AudioTrackBehaviours = this.audioDefaultsViewModel.AudioBehaviours.Clone();
            }
        }