Skip to content

How is the frameCount parameter defined in the data_callback function? #450

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

You must be logged in to vote

It's controlled by the device config via the periodSizeInFrames/Milliseconds member. By default it'll be approximately 10ms, but the exact size is determined by the backend which would explain why it differs between physical devices. Setting the period size explicitly in the device config should make it consistent.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yanostulens
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