Skip to content

JasonBenn/node-speaker

 
 

Repository files navigation

node-speaker

[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)

If your terminal looks like that when using node-speaker, and you're on MacOs, this fork should fix it.

This is exactly the same as the source, except I commented out an annoying warning in the libmpg123 code in coreaudio.c, which handles audio output for MacOS using Apple's API for it.

About

Output PCM audio data to the speakers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 59.0%
  • C 40.2%
  • Python 0.8%