How do I setup the OpenAL extension? (SOLVED)

#1

Defolder,
How do I setup the OpenAL defold extension?
There doesn’t appear to be a .lua in it to require and the setup on the extension’s readme is a bit confusing, can anyone explain how to use this?

Grify :slight_smile:

0 Likes

#2

Native extensions (as well as the default engine Lua modules) register themselves directly from C code, so there’s no need for a require.

0 Likes

#3

How do I call them in scripts without requiring them?

0 Likes

#4

Like regular modules.

function init(self)
...
    openal.get_info()
...
end
1 Like

#5

Oh, thank you!

0 Likes