Skip to content

Ignore an empty audio frame? #636

Answered by mackron
lplassman asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lplassman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants