Skip to content
Discussion options

You must be logged in to vote

I assume the correct approach is to:

  1. set "periodSizeInFrames" or "periodSizeInMilliseconds"
    to the amount of buffering desired.
  2. do not copy anything in the callback until can fill the full call back request (ie frameCount).
    (this will result in silence at the beginning of the stream)
  3. after the first copying of data should always have enough data ready to fill the full call back request
    (otherwise the source is falling behind the player .. and will inject silence)

Is this correct??

Thanks!

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@mackron
Comment options

@duane34
Comment options

Answer selected by duane34
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