openal

OpenAL Interface


Install
npm install openal@1.0.0

Documentation

node-openal

This addon makes it possible to use the OpenAL library from within a node application.

Helpful Sources

I didn't know anything about OpenAL or creating c++ node "addons" before starting this, so I got a lot of help from the following sources:

Testing

As a newcomer to node addons, rather than setting up the whole Eclipse-based debugging environment, I found it helpful to compile my addon in debug mode and just run node through gdb:

node-gyp clean && node-gyp configure && node-gyp build --debug
gdb node
(gdb) set args test/stream.js
(gdb) run

Even though node isn't compiled with debug symbols, this got me close enough to the problem when I was getting weird segfaults.

To do