TooTallNate / node-speaker

Output PCM audio data to the speakers
649 stars 145 forks source link

using mpg123-backend=jack throws error #77

Open nyboer opened 8 years ago

nyboer commented 8 years ago

I was hoping to use jack to patch the audio out from speaker into some other applications, but I seem to uncovered a problem. I did

npm install speaker -mpg123-backend=jack

but when I try to use speaker (node examples/sine.js), I get the error:

node: symbol lookup error: /home/peter/Documents/nodeSpot/node-spotify-web/node_modules/speaker/build/Release/binding.node: undefined symbol: jack_client_open

I have tried this with jack started and with jack disabled (using qjackctl) Has anyone else had this problem? Or anyone been successful?

TooTallNate commented 8 years ago

We probably need to add jack or something to the libraries array in the deps/mpg123/mpg123.gyp file. PR welcome if you figure it out.

nyboer commented 8 years ago

No luck yet. I'll poke around and see if there's a crumb of information somewhere.

TooTallNate commented 8 years ago

Try out master branch now and let me know if it works for you. I don't have access to a linux box with a speaker so I can't test at the moment.