NxPlayer needs to set curbyte field to zero before enqueuing a buffer. Otherwise, it looks like beginning of the buffer has already been consumed
This commit is contained in:
parent
ca5200a7d0
commit
38c095bd17
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user