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

Small buffers generate warning in coreaudio

Open dy opened this issue 9 years ago • 4 comments

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*

dy avatar Sep 13 '16 20:09 dy

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

vectrixdevelops avatar Sep 25 '16 07:09 vectrixdevelops

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

iwasrobbed avatar Jul 31 '17 05:07 iwasrobbed

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

vectrixdevelops avatar Jul 31 '17 10:07 vectrixdevelops

@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)

iwasrobbed avatar Aug 01 '17 03:08 iwasrobbed