private async void Button_Click(object sender, RoutedEventArgs e) { await AudioEffect.DoStuff(); var p = new FilterRack.FilterRack(AudioEffect.Instance); p.Show(); }
private async void OpenEffectsRack_Click(object sender, RoutedEventArgs e) { await AudioEffect.Instance.SetSource(AudioEffect.CreateSource(AudioFiles.FirstOrDefault()?.InputFile.FullName)); var p = new FilterRack.FilterRack(AudioEffect.Instance); p.Show(); //AudioEffect.Instance.StartLivePlay(); FilterRackOpen = true; }