You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/06/05 04:02:45 UTC

[incubator-nuttx] 01/02: include: audio: Remove CONFIG_AUDIO_DRIVER_SPECIFIC_BUFFERS from audio.h

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit ef30832e67d0caa19a6dce96ee615096760f226f
Author: Masayuki Ishikawa <ma...@gmail.com>
AuthorDate: Fri Jun 5 09:58:02 2020 +0900

    include: audio: Remove CONFIG_AUDIO_DRIVER_SPECIFIC_BUFFERS from audio.h
    
    NOTE: struct ap_buffer_info_s can be used without the config
    
    Signed-off-by: Masayuki Ishikawa <Ma...@jp.sony.com>
---
 include/nuttx/audio/audio.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/nuttx/audio/audio.h b/include/nuttx/audio/audio.h
index 82707ba..d70581e 100644
--- a/include/nuttx/audio/audio.h
+++ b/include/nuttx/audio/audio.h
@@ -408,13 +408,11 @@ struct audio_info_s
  * so this info is queried from the lower-half driver.
  */
 
-#ifdef CONFIG_AUDIO_DRIVER_SPECIFIC_BUFFERS
 struct ap_buffer_info_s
 {
   apb_samp_t  nbuffers;     /* Preferred qty of buffers */
   apb_samp_t  buffer_size;  /* Preferred size of the buffers */
 };
-#endif
 
 /* This structure describes an Audio Pipeline Buffer */