audiojs / audio-play

Play audio buffer in browser/node
MIT License
60 stars 14 forks source link

warning: Didn't have any audio data in callback (buffer underflow) on MacOS High Sierra #15

Open nospam2k opened 6 years ago

nospam2k commented 6 years ago

After playing a buffer, I get the following error.

play('testfile.mp3');

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

This error repeats in a loop.

vectrixdevelops commented 6 years ago

This should be fixed with the custom speaker implementation which is currently a work in progress. https://github.com/audiojs/audio-speaker/pull/44

widdydev commented 5 years ago

Any progress so far? Still getting this warning...

thor-isme commented 5 years ago

I got the same issue, how to stop warning [../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)

mindblower23 commented 5 years ago

I also see this warning! Any workaround yet?

dy commented 5 years ago

We're blocked by https://github.com/audiojs/node-cubeb, https://github.com/audiojs/audio-speaker/pull/44 or https://github.com/audiojs/audio-mpg123/pull/10. That needs a separate effort.