Skip to content
Snippets Groups Projects
Commit 38c095bd authored by Gregory Nutt's avatar Gregory Nutt
Browse files

NxPlayer needs to set curbyte field to zero before enqueuing a buffer. ...

NxPlayer needs to set curbyte field to zero before enqueuing a buffer.  Otherwise, it looks like beginning of the buffer has already been consumed
parent ca5200a7
No related branches found
No related tags found
No related merge requests found
......@@ -1455,8 +1455,6 @@ static int pcm_enqueuebuffer(FAR struct audio_lowerhalf_s *dev,
lower = priv->lower;
DEBUGASSERT(lower && lower->ops->enqueuebuffer && lower->ops->configure);
apb->curbyte = 0;
/* Are we streaming yet? */
if (priv->streaming)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment