audio_config.h.in 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /* Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  2. * All rights reserved.
  3. *
  4. * This software is supplied "AS IS" without any warranties.
  5. * RDA assumes no responsibility or liability for the use of the software,
  6. * conveys no license or title under any patent, copyright, or mask work
  7. * right to the product. RDA reserves the right to make changes in the
  8. * software without notification. RDA also make no representation or
  9. * warranty that such application will be suitable for the specified use
  10. * without further testing or modification.
  11. */
  12. #ifndef _AUDIO_CONFIG_H_
  13. #define _AUDIO_CONFIG_H_
  14. // @AUTO_GENERATION_NOTICE@
  15. /**
  16. * whether audio feature is enabled
  17. */
  18. #cmakedefine CONFIG_AUDIO_ENABLE
  19. /**
  20. * audio work queue stack size
  21. */
  22. #cmakedefine CONFIG_AUDIO_WQ_STACK_SIZE @CONFIG_AUDIO_WQ_STACK_SIZE@
  23. /**
  24. * whether MP3 decoder enabled
  25. */
  26. #cmakedefine CONFIG_AUDIO_MP3_DEC_ENABLE
  27. /**
  28. * whether AMR-NB decoder enabled
  29. */
  30. #cmakedefine CONFIG_AUDIO_AMRNB_DEC_ENABLE
  31. /**
  32. * whether AMR-WB decoder enabled
  33. */
  34. #cmakedefine CONFIG_AUDIO_AMRWB_DEC_ENABLE
  35. /**
  36. * whether SBC decoder enabled
  37. */
  38. #cmakedefine CONFIG_AUDIO_SBC_DEC_ENABLE
  39. /**
  40. * whether AMR-NB encoder enabled
  41. */
  42. #cmakedefine CONFIG_AUDIO_AMRNB_ENC_ENABLE
  43. /**
  44. * whether AMR-WB encoder enabled
  45. */
  46. #cmakedefine CONFIG_AUDIO_AMRWB_ENC_ENABLE
  47. #ifdef CONFIG_AUDIO_ENABLE
  48. /**
  49. * whether ext i2s enable
  50. */
  51. #cmakedefine CONFIG_AUDIO_EXT_I2S_ENABLE
  52. #endif
  53. #ifdef CONFIG_AUDIO_ENABLE
  54. /**
  55. * whether customer config audio ipc trigger mode enable
  56. */
  57. #cmakedefine CONFIG_AUDIO_IPC_SET_TRIGGER_MODE_ENABLE
  58. #endif
  59. #ifdef CONFIG_AUDIO_ENABLE
  60. /**
  61. * whether customer config audio call remote keytone detect enable
  62. */
  63. #cmakedefine CONFIG_AUDIO_CALL_KEYTONE_DETECT_SUPPORT
  64. #endif
  65. #ifdef CONFIG_AUDIO_ENABLE
  66. /**
  67. * whether CVS enabled
  68. */
  69. #cmakedefine CONFIG_AUDIO_CVS_SUPPORT
  70. #endif
  71. #ifdef CONFIG_AUDIO_ENABLE
  72. /**
  73. * whether voice enabled
  74. */
  75. #cmakedefine CONFIG_AUDIO_VOICE_ENABLE
  76. #endif
  77. #ifdef CONFIG_AUDIO_ENABLE
  78. /**
  79. * whether 8850cm_gpio enabled
  80. */
  81. #cmakedefine CONFIG_AUDIO_8850CM_GPIO_ENABLE
  82. #endif
  83. #endif