Open kamalkech opened 11 months ago
I've found solution, at least it is working locally, but if you need this as a dependency, you may need some extra steps.
Add to deps/mpg123/mpg123.gyp
at variables
block (line 11)
'mpg123_cpu%': '',
Then copy deps/mpg123/config/linux/arm
to deps/mpg123/config/mac
and rename newly copied directory to arm64
Then you can try and run node-gyp configure
and node-gyp build
or just npm install .
from the root.
At this point you should have working node-speaker
library.
Again, if you need to use as dependency, you might need to run npm link %path_to_node_speaker%
from your app root in order for your app to use locally built node-speaker
and not remote one.
Hope that helps! I might open PR later.
Actually, there is PR already https://github.com/TooTallNate/node-speaker/pull/178/files
any idea ??