Import BRL.OGGLoader problem

BlitzMax Forums/BlitzMax Programming/Import BRL.OGGLoader problem

Ghost Dancer(Posted 2007) [#1]
OK, this is a strange one. If I include the following line:

Import BRL.OGGLoader


I get a run time error, but if the OGGLoader is not imported the program runs just fine. Has anyone had this problem before and do you know what is causing it.

I'll try and post some source code later, but it's tricky since I'm not sure exactly what part is causing the problem/conflict. I am not loading any oggs at the moment (but need it there for when ogg files are used) so I can not see why importing this module would cause an error.

Any ideas?


GfK(Posted 2007) [#2]
What sort of 'run time error'? And where?

If you're just importing brl.oggloader, then you'll also need at least one of the following, depending which sound driver you're using:

Import brl.freeaudioaudio
Import brl.openalaudio
Import brl.directsoundaudio

There may be other mods required alongside brl.oggloader, but those are the obvious ones.


Ghost Dancer(Posted 2007) [#3]
I'm using Import brl.freeaudioaudio with it.

In trying to find out what was going on, I have somehow seem to have fixed it.

Very very strange indeed. I think I need a drink...