Kconfig 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. menu "audio"
  12. config AUDIO_ENABLE
  13. bool "audio feature supported"
  14. default y if SOC_8910
  15. default n
  16. help
  17. Whether audio feature is enabled
  18. config AUDIO_WQ_STACK_SIZE
  19. int "audio qork queue stack size"
  20. default 32768 if AUDIO_VOICE_ENABLE
  21. default 16384
  22. help
  23. By default, audio decoder and audio encoder may be excuted in this
  24. thread. And it should be large enough to ensure audio codec work.
  25. config AUDIO_MP3_DEC_ENABLE
  26. bool "MP3 decoder enable"
  27. default y if SOC_8910
  28. default n
  29. help
  30. MP3 decoder will need ~1000 bytes of stack.
  31. config AUDIO_AMRNB_DEC_ENABLE
  32. bool "AMR-NB decoder enable"
  33. default y if SOC_8910
  34. default n
  35. help
  36. AMR-NB decoder will need ~1500 bytes of stack.
  37. config AUDIO_AMRWB_DEC_ENABLE
  38. bool "AMR-WB decoder enable"
  39. default y if SOC_8910
  40. default n
  41. help
  42. AMR-WB decoder will need ~500 bytes of stack.
  43. config AUDIO_SBC_DEC_ENABLE
  44. bool "SBC decoder enable"
  45. default y if SOC_8910
  46. default n
  47. help
  48. SBC decoder will need ~1500 bytes of stack.
  49. config AUDIO_AMRNB_ENC_ENABLE
  50. bool "AMR-NB encoder enable"
  51. default y if SOC_8910
  52. default n
  53. help
  54. AMR-NB encoder will need ~6300 bytes of stack.
  55. config AUDIO_AMRWB_ENC_ENABLE
  56. bool "AMR-WB encoder enable"
  57. default y if SOC_8910
  58. default n
  59. help
  60. AMR-WB encoder will need ~10500 bytes of stack.
  61. if AUDIO_ENABLE
  62. config AUDIO_EXT_I2S_ENABLE
  63. bool "ext i2s enable"
  64. default n
  65. help
  66. ext i2s chip config by i2c.
  67. endif
  68. if AUDIO_ENABLE
  69. config AUDIO_IPC_SET_TRIGGER_MODE_ENABLE
  70. bool "customer config audio ipc trigger mode enable"
  71. default n
  72. help
  73. customer can set trigger in normal mode 0,or trigger by frame time in cust mode.
  74. endif
  75. if AUDIO_ENABLE
  76. config AUDIO_CALL_KEYTONE_DETECT_SUPPORT
  77. bool "customer config audio call key tone dtmf detect enable"
  78. default n
  79. help
  80. customer use this func to detect remote dtmf tone in call voice data.
  81. endif
  82. if AUDIO_ENABLE
  83. config AUDIO_SET_LOOPBACK_GAIN_SUPPORT
  84. bool "set loopback gain"
  85. default y
  86. help
  87. customer use this func to set loopback gain.
  88. endif
  89. if AUDIO_ENABLE
  90. config AUDIO_CVS_SUPPORT
  91. bool "CVS enable"
  92. default y if SOC_8850
  93. default n
  94. help
  95. customer use this func to reduce echo and noise.
  96. endif
  97. if AUDIO_ENABLE
  98. config AUDIO_VOICE_ENABLE
  99. bool "voice enable"
  100. depends on QUEC_PROJECT_FEATURE_VOLTE #quectel add
  101. default y #quectel modify
  102. help
  103. voice call enable.
  104. endif
  105. if AUDIO_ENABLE
  106. config AUDIO_8850CM_GPIO_ENABLE
  107. bool "8850cm gpio enable"
  108. default n
  109. help
  110. 8850cm gpio enable.
  111. endif
  112. endmenu