nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-nuttx] patacongo commented on issue #836: audio nxstyle fixes and audio drivers cleanup
Date Tue, 21 Apr 2020 15:04:08 GMT

patacongo commented on issue #836:
URL: https://github.com/apache/incubator-nuttx/pull/836#issuecomment-617237203


   Looks like it should compiler to me.  it is complaiing:
   
       i2sloop_main.c: In function 'i2sloop_main':
       i2sloop_main.c:123:10: error: 'union <anonymous>' has no member named 'ppBuffer';
did you mean 'pbuffer'?
         123 |   desc.u.ppBuffer = &apb;
             |          ^~~~~~~~
             |          pbuffer
   
   include/nuttx/audio/audio.h:
   
       460 struct audio_buf_desc_s
       461 {
       462 #ifdef CONFIG_AUDIO_MULTI_SESSION
       463   FAR void            *session;           /* Associated channel */
       464 #endif
       465   uint16_t            numbytes;           /* Number of bytes to allocate */
       466   union
       467   {
       468     FAR struct ap_buffer_s  *pBuffer;     /* Buffer to free / enqueue */
       469     FAR struct ap_buffer_s  **ppBuffer;   /* Pointer to receive allocated buffer
*/
       470   } u;
       471 };
   
   I don't see why the built check is complaining.


----------------------------------------------------------------
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



Mime
View raw message