forked from MoonsideGames/FAudioGMS
working directory on streaming sound
parent
c73332c3a4
commit
e63252b3ba
|
@ -69,7 +69,7 @@ function StaticSound(_staticSoundID) constructor
|
||||||
// Note that StreamingSounds are SoundInstances.
|
// Note that StreamingSounds are SoundInstances.
|
||||||
function LoadStreamingSound(filename)
|
function LoadStreamingSound(filename)
|
||||||
{
|
{
|
||||||
var filePath = "audio\\streaming\\" + filename;
|
var filePath = working_directory + "audio/streaming/" + filename;
|
||||||
soundInstanceID = FAudioGMS_StreamingSound_LoadOGG(filePath);
|
soundInstanceID = FAudioGMS_StreamingSound_LoadOGG(filePath);
|
||||||
return new SoundInstance(soundInstanceID);
|
return new SoundInstance(soundInstanceID);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue