mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-04-30 01:04:26 +02:00
create the mp3 -> wav cache if it doesn't exist
This commit is contained in:
parent
cb3b21389e
commit
214ebba172
@ -155,6 +155,8 @@ namespace HeavenStudio
|
||||
{
|
||||
Directory.Delete(Path.Combine(Application.temporaryCachePath, "/savewav"), true);
|
||||
}
|
||||
if (!Directory.Exists(Application.temporaryCachePath, "/savewav"))
|
||||
Directory.CreateDirectory(Application.temporaryCachePath, "/savewav");
|
||||
if (audioType == AudioType.MPEG)
|
||||
{
|
||||
Debug.Log($"mp3 loaded, Converting {filePath} to wav...");
|
||||
|
Loading…
x
Reference in New Issue
Block a user