diff --git a/Mirivoice/Mirivoice.Core/Managers/AudioManager.cs b/Mirivoice/Mirivoice.Core/Managers/AudioManager.cs index 448d41b..ba96da4 100644 --- a/Mirivoice/Mirivoice.Core/Managers/AudioManager.cs +++ b/Mirivoice/Mirivoice.Core/Managers/AudioManager.cs @@ -195,7 +195,7 @@ public async void PlayAllCacheFiles(int startIndex, bool exportOnlyAndDoNotPlay int no = Int32.Parse(v.CurrentLineBox.viewModel.LineNo) - 1; string exportPath = Path.Combine(DirPath, $"{no}_{fileName}.wav"); - string cacheName = caches[no]; + string cacheName = caches[0]; exportPath = SetSuffixToUnique(exportPath, 1); Log.Debug($"Exporting {cacheName} to {exportPath}"); // resample to 48000kHz