forked from MoonsideGames/FAudioGMS
working directory on streaming sound
parent
6be41108a6
commit
30e4f01d37
|
@ -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