From a7f727922330d2e411af07c5fc861a47d46e1ac3 Mon Sep 17 00:00:00 2001 From: iAmAsval Date: Sat, 25 Jul 2020 13:49:20 +0200 Subject: [PATCH] yea that was the issue... close #100 --- FModel/Windows/SoundPlayer/AudioPlayer.xaml.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FModel/Windows/SoundPlayer/AudioPlayer.xaml.cs b/FModel/Windows/SoundPlayer/AudioPlayer.xaml.cs index 6d30cfd0..0aa0bcae 100644 --- a/FModel/Windows/SoundPlayer/AudioPlayer.xaml.cs +++ b/FModel/Windows/SoundPlayer/AudioPlayer.xaml.cs @@ -261,11 +261,13 @@ namespace FModel.Windows.SoundPlayer { // vgmstream convert on select if (string.IsNullOrEmpty(selectedItem.FullPath) && selectedItem.Data != null) + { if (TryVGMStreamConvert(selectedItem, out string wavFile)) { _oldPlayedSound = wavFile; LoadFile(wavFile); } + } else if (!_oldPlayedSound.Equals(selectedItem.FullPath)) _oldPlayedSound = selectedItem.FullPath;