Closed j-era closed 5 years ago
Seems to cause a rec WARN coreaudio: coreaudio: unhandled buffer overrun. Data discarded.
exception on MacOS.
Can you elaborate on why this particular flag is mandatory for Windows?
The same issue on Windows 10 with sox-14.4.1, tested using https://github.com/googleapis/nodejs-speech/tree/master/samples
(replaced recordProgram
from rec
to sox
)
Without -d
(Use the default audio device) in cmdArgs
, it immediately stops sending audio stream.
see: https://github.com/artcom/node-record-lpcm16/commit/74649305e4a774865d59df48068286844e352641