AudioNet / node-core-audio

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

NodeCoreAudio/AudioEngine.cpp #38

Closed dg14 closed 8 years ago

dg14 commented 9 years ago

under ubuntu-14.10 LTS (64bit) Sleep seems not exist... (in NodeCoreAudio/AudioEngine.cpp)

ifdef APPLE

                    sleep(1);

else

                    Sleep(1);

endif

and i've to include:

include <unistd.h>

include <string.h>

to build that correctly.

rmedaer commented 8 years ago

This has been fixed in AudioEngine.h:

#ifdef __linux__
        #include <unistd.h>
        #include <string.h>
#endif

Have a good day,

ZECTBynmo commented 8 years ago

<3 thanks @rmedaer !