From e63252b3ba1626876fa976d03a91a3b7d418bbb9 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); }