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 2022/11/30 06:48:34 UTC

[GitHub] [nuttx-apps] qiaohaijiao commented on a diff in pull request #1440: nxplayer: add mp3 offload playback demo

qiaohaijiao commented on code in PR #1440:
URL: https://github.com/apache/nuttx-apps/pull/1440#discussion_r1035584373


##########
include/system/nxplayer.h:
##########
@@ -39,6 +39,14 @@
  * Public Type Declarations
  ****************************************************************************/
 
+struct nxplayer_dec_ops_s
+{
+  int format;
+  int (*pre_parse)(int fd, uint32_t *samplerate,
+                   uint8_t *chans, uint8_t *bps);

Review Comment:
   done



##########
include/system/nxplayer.h:
##########
@@ -39,6 +39,14 @@
  * Public Type Declarations
  ****************************************************************************/
 
+struct nxplayer_dec_ops_s
+{
+  int format;
+  int (*pre_parse)(int fd, uint32_t *samplerate,
+                   uint8_t *chans, uint8_t *bps);
+  int (*fill_data)(int fd, FAR struct ap_buffer_s *apb);

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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

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