-
Hi, Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
mackron
Feb 26, 2023
Replies: 1 comment
-
When you say there is no data, do you mean the frame count is 0? miniaudio will fire the callback whenever ALSA tells it that data is ready to be delivered, using whatever frame count it provides. If the count is 0, just use that, otherwise there's no way to know if it contains valid data or not. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lplassman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When you say there is no data, do you mean the frame count is 0? miniaudio will fire the callback whenever ALSA tells it that data is ready to be delivered, using whatever frame count it provides. If the count is 0, just use that, otherwise there's no way to know if it contains valid data or not.