mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user