Replies: 1 comment
|
Unfortunately there is no xrun detection in miniaudio and I have no plans to support it. Too many backends to deal with and too much complexity for something I don't need personally. (The ALSA backend detects xruns as part of its normal operation, but it's not exposed to any kind of public API.) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I've just ported an audio player from portaudio to miniaudio (using the Go bindings), due to having output buffer underflows with portaudio.
This seems to have been a success, and as far as I can tell, no such underflows occur with miniaudio.
However, I'm wondering if miniaudio has a mechanism to detect and report underflows.
portaudio sets a flag (passed to the callback) if an underflow is detected. It also has a handy function to show CPU consumption for the callback.
So my questions are:
All reactions