AudioNet / node-core-audio

Bindings for PortAudio giving JavaScript access to sound card samples (mostly unmaintained)
MIT License
330 stars 67 forks source link

feat: adapt to node v10 requirements for overloading #73

Open icyJoseph opened 5 years ago

icyJoseph commented 5 years ago

Hi,

As node v10 takes over, it seems that some changed are required.

From what I've managed to understand NaN upgraded the usage of their methods. That's why the application complains about overloading.

This PR is pretty much based of this examples:

https://github.com/nodejs/nan/blob/master/doc/object_wrappers.md#examples