From 30e4f01d379acef51a1619d12a3d4bfbf7b5eef1 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Fri, 29 Oct 2021 14:14:52 -0700 Subject: [PATCH] working directory on streaming sound --- gamemaker/scripts/FAudioGMS_Scripts/FAudioGMS_Scripts.gml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemaker/scripts/FAudioGMS_Scripts/FAudioGMS_Scripts.gml b/gamemaker/scripts/FAudioGMS_Scripts/FAudioGMS_Scripts.gml index 7068e2e..28234e3 100644 --- a/gamemaker/scripts/FAudioGMS_Scripts/FAudioGMS_Scripts.gml +++ b/gamemaker/scripts/FAudioGMS_Scripts/FAudioGMS_Scripts.gml @@ -69,7 +69,7 @@ function StaticSound(_staticSoundID) constructor // Note that StreamingSounds are SoundInstances. function LoadStreamingSound(filename) { - var filePath = "audio\\streaming\\" + filename; + var filePath = working_directory + "audio/streaming/" + filename; soundInstanceID = FAudioGMS_StreamingSound_LoadOGG(filePath); return new SoundInstance(soundInstanceID); }