gillesdemey / node-record-lpcm16

:microphone: Records a 16-bit signed-integer linear pulse modulation code encoded audio file.
ISC License
212 stars 59 forks source link

Crash on recording.pause() for windows #55

Open qduborper opened 4 years ago

qduborper commented 4 years ago

Hello ! I'm using node 12 on windows, and when I run the google speech microphone stream example (https://github.com/googleapis/nodejs-speech/blob/master/samples/MicrophoneStream.js), then do a pause after 2 seconds, I got this error

TypeError [ERR_UNKNOWN_SIGNAL]: Unknown signal: SIGSTOP at convertToValidSignal (internal/util.js:228:9) at ChildProcess.kill (internal/child_process.js:422:5) at Recording.pause (******\node_modules\node-record-lpcm16\index.js:81:18) at Timeout.setTimeout [as _onTimeout] (******\server.js:78:19) at ontimeout (timers.js:436:11) at tryOnTimeout (timers.js:300:5) at listOnTimeout (timers.js:263:5) at Timer.processTimers (timers.js:223:10)

Any idea ? thank you

LingleDev commented 3 years ago

I'm getting this error also

tingyang01 commented 1 year ago

Hello I am getting the same error too.