Using the IrrKlangaudio (BRL.Audio module).
There is an issue with the engine not being able to reference an already loaded sample. i.e. if the sample is already loaded and you issue a loadsound again elsewhere in the app, it returns a NULL instead of the already loaded sample.
Easy to illustrate
Tis only a suggestion to return the already loaded sample reference. Im doing it in code - just nice if it were already int he wrapper :)
There is an issue with the engine not being able to reference an already loaded sample. i.e. if the sample is already loaded and you issue a loadsound again elsewhere in the app, it returns a NULL instead of the already loaded sample.
Easy to illustrate
Local sound:TSound = LoadSound("../../irrklang.mod/examples/media/getout.ogg", SOUND_LOOP) Local sound2:TSound = LoadSound("../../irrklang.mod/examples/media/getout.ogg", SOUND_LOOP) PlaySound(sound) PlaySound(sound2) ' <<<< error as sound2 = NULL
Tis only a suggestion to return the already loaded sample reference. Im doing it in code - just nice if it were already int he wrapper :)