You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/12/14 13:13:04 UTC

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 commented on a change in pull request #522: system: nxplayer and nxrecorder shouldn't hardcode message length to 16

xiaoxiang781216 commented on a change in pull request #522:
URL: https://github.com/apache/incubator-nuttx-apps/pull/522#discussion_r542372340



##########
File path: system/nxplayer/nxplayer.c
##########
@@ -1932,9 +1933,19 @@ static int nxplayer_playinternal(FAR struct nxplayer_s *pplayer,
       ioctl(pplayer->dev_fd, AUDIOIOC_CONFIGURE, (unsigned long)&cap_desc);
     }
 
+  /* Query the audio device for it's preferred buffer count */
+
+  if (ioctl(pplayer->dev_fd, AUDIOIOC_GETBUFFERINFO,
+            (unsigned long)&buf_info)) != OK)

Review comment:
       Done, thanks.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org