audio-play icon indicating copy to clipboard operation
audio-play copied to clipboard

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

Open nospam2k opened this issue 7 years ago • 5 comments

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.

nospam2k avatar Feb 12 '18 23:02 nospam2k

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

vectrixdevelops avatar Feb 13 '18 08:02 vectrixdevelops

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

widdydev avatar Apr 11 '19 07:04 widdydev

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)

thor-isme avatar Jun 13 '19 01:06 thor-isme

I also see this warning! Any workaround yet?

mindblower23 avatar Sep 13 '19 10:09 mindblower23

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.

dy avatar Sep 13 '19 14:09 dy