Use of direct buffers when loading WAV files

Each time you load a WAV sound file using JOAL you get a new direct buffer allocated? Does this not create problems if you want (like I do) to repeatedly load sound files?

Would JOAL work if the WAVLoader code allocated an indirect buffer instead?

JOAL will still work if the WAVLoader was rewritten to use indirect buffers. JOAL doesn’t make any distinction between the 2 when converting them into OpenAL buffer objects.