xiaoxiang781216 commented on a change in pull request #522: URL: https://github.com/apache/incubator-nuttx-apps/pull/522#discussion_r542376288
########## File path: system/nxrecorder/nxrecorder.c ########## @@ -844,9 +845,19 @@ int nxrecorder_recordraw(FAR struct nxrecorder_s *precorder, goto err_out; } + /* Query the audio device for it's preferred buffer count */ + + if (ioctl(precorder->dev_fd, AUDIOIOC_GETBUFFERINFO, + (unsigned long)&buf_info)) != OK) Review comment: Done. ---------------------------------------------------------------- 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: us...@infra.apache.org