audiojs / audio-speaker

Output audio stream to speaker, browser/node-wise
103 stars 14 forks source link

Small buffers generate warning in coreaudio #22

Open dy opened 8 years ago

dy commented 8 years ago

From https://github.com/danigb/audio-loader/issues/2

When running the example in my machine, I get a lot of warnings: [../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow).

Seems that short samples cause underflows in OS*

vectrixdevelops commented 8 years ago

This may be fixed in the latest version of mpg123. We can test it later.

iwasrobbed commented 7 years ago

I get this very often (it floods the console with this in an infinite loop). How is this referencing mpg123 exactly?

vectrixdevelops commented 7 years ago

Is this for the release-2.0 beta version or the current version?

iwasrobbed commented 7 years ago

@connorhartley The current version. The release-2.0 doesn't work at all for me (I posted on the discussion last night: https://github.com/audiojs/audio-speaker/issues/42#issuecomment-318978454)