audio_effects.conf 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. # List of effect libraries to load. Each library element must contain a "path" element
  2. # giving the full path of the library .so file.
  3. # libraries {
  4. # <lib name> {
  5. # path <lib path>
  6. # }
  7. # }
  8. libraries {
  9. bundle {
  10. path /vendor/lib/soundfx/libbundlewrapper.so
  11. }
  12. reverb {
  13. path /vendor/lib/soundfx/libreverbwrapper.so
  14. }
  15. qcbassboost {
  16. path /vendor/lib/soundfx/libqcbassboost.so
  17. }
  18. qcvirt {
  19. path /vendor/lib/soundfx/libqcvirt.so
  20. }
  21. qcreverb {
  22. path /vendor/lib/soundfx/libqcreverb.so
  23. }
  24. visualizer_sw {
  25. path /vendor/lib/soundfx/libvisualizer.so
  26. }
  27. visualizer_hw {
  28. path /vendor/lib/soundfx/libqcomvisualizer.so
  29. }
  30. downmix {
  31. path /vendor/lib/soundfx/libdownmix.so
  32. }
  33. loudness_enhancer {
  34. path /vendor/lib/soundfx/libldnhncr.so
  35. }
  36. dynamics_processing {
  37. path /vendor/lib/soundfx/libdynproc.so
  38. }
  39. proxy {
  40. path /vendor/lib/soundfx/libeffectproxy.so
  41. }
  42. offload_bundle {
  43. path /vendor/lib/soundfx/libqcompostprocbundle.so
  44. }
  45. audio_pre_processing {
  46. path /vendor/lib/soundfx/libqcomvoiceprocessing.so
  47. }
  48. }
  49. # Default pre-processing library. Add to audio_effect.conf "libraries" section if
  50. # audio HAL implements support for default software audio pre-processing effects
  51. #
  52. # pre_processing {
  53. # path /vendor/lib/soundfx/libaudiopreprocessing.so
  54. # }
  55. # list of effects to load. Each effect element must contain a "library" and a "uuid" element.
  56. # The value of the "library" element must correspond to the name of one library element in the
  57. # "libraries" element.
  58. # The name of the effect element is indicative, only the value of the "uuid" element
  59. # designates the effect.
  60. # The uuid is the implementation specific UUID as specified by the effect vendor. This is not the
  61. # generic effect type UUID.
  62. # effects {
  63. # <fx name> {
  64. # library <lib name>
  65. # uuid <effect uuid>
  66. # }
  67. # ...
  68. # }
  69. effects {
  70. # additions for the proxy implementation
  71. # Proxy implementation
  72. #effectname {
  73. #library proxy
  74. #uuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
  75. # SW implemetation of the effect. Added as a node under the proxy to
  76. # indicate this as a sub effect.
  77. #libsw {
  78. #library libSW
  79. #uuid yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
  80. #} End of SW effect
  81. # HW implementation of the effect. Added as a node under the proxy to
  82. # indicate this as a sub effect.
  83. #libhw {
  84. #library libHW
  85. #uuid zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzz
  86. #}End of HW effect
  87. #} End of effect proxy
  88. bassboost {
  89. library proxy
  90. uuid 14804144-a5ee-4d24-aa88-0002a5d5c51b
  91. libsw {
  92. library qcbassboost
  93. uuid 23aca180-44bd-11e2-bcfd-0800200c9a66
  94. }
  95. libhw {
  96. library offload_bundle
  97. uuid 2c4a8c24-1581-487f-94f6-0002a5d5c51b
  98. }
  99. }
  100. virtualizer {
  101. library proxy
  102. uuid d3467faa-acc7-4d34-acaf-0002a5d5c51b
  103. libsw {
  104. library qcvirt
  105. uuid e6c98a16-22a3-11e2-b87b-f23c91aec05e
  106. }
  107. libhw {
  108. library offload_bundle
  109. uuid 509a4498-561a-4bea-b3b1-0002a5d5c51b
  110. }
  111. }
  112. equalizer {
  113. library proxy
  114. uuid c8e70ecd-48ca-456e-8a4f-0002a5d5c51b
  115. libsw {
  116. library bundle
  117. uuid ce772f20-847d-11df-bb17-0002a5d5c51b
  118. }
  119. libhw {
  120. library offload_bundle
  121. uuid a0dac280-401c-11e3-9379-0002a5d5c51b
  122. }
  123. }
  124. volume {
  125. library bundle
  126. uuid 119341a0-8469-11df-81f9-0002a5d5c51b
  127. }
  128. reverb_env_aux {
  129. library proxy
  130. uuid 48404ac9-d202-4ccc-bf84-0002a5d5c51b
  131. libsw {
  132. library qcreverb
  133. uuid a8c1e5f3-293d-43cd-95ec-d5e26c02e217
  134. }
  135. libhw {
  136. library offload_bundle
  137. uuid 79a18026-18fd-4185-8233-0002a5d5c51b
  138. }
  139. }
  140. reverb_env_ins {
  141. library proxy
  142. uuid b707403a-a1c1-4291-9573-0002a5d5c51b
  143. libsw {
  144. library qcreverb
  145. uuid 791fff8b-8129-4655-83a4-59bc61034c3a
  146. }
  147. libhw {
  148. library offload_bundle
  149. uuid eb64ea04-973b-43d2-8f5e-0002a5d5c51b
  150. }
  151. }
  152. reverb_pre_aux {
  153. library proxy
  154. uuid 1b78f587-6d1c-422e-8b84-0002a5d5c51b
  155. libsw {
  156. library qcreverb
  157. uuid 53ef1db5-c0c0-445b-b060-e34d20ebb70a
  158. }
  159. libhw {
  160. library offload_bundle
  161. uuid 6987be09-b142-4b41-9056-0002a5d5c51b
  162. }
  163. }
  164. reverb_pre_ins {
  165. library proxy
  166. uuid f3e178d2-ebcb-408e-8357-0002a5d5c51b
  167. libsw {
  168. library qcreverb
  169. uuid b08a0e38-22a5-11e2-b87b-f23c91aec05e
  170. }
  171. libhw {
  172. library offload_bundle
  173. uuid aa2bebf6-47cf-4613-9bca-0002a5d5c51b
  174. }
  175. }
  176. visualizer {
  177. library proxy
  178. uuid 1d0a1a53-7d5d-48f2-8e71-27fbd10d842c
  179. libsw {
  180. library visualizer_sw
  181. uuid d069d9e0-8329-11df-9168-0002a5d5c51b
  182. }
  183. libhw {
  184. library visualizer_hw
  185. uuid 7a8044a0-1a71-11e3-a184-0002a5d5c51b
  186. }
  187. }
  188. downmix {
  189. library downmix
  190. uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f
  191. }
  192. hw_acc {
  193. library offload_bundle
  194. uuid 7d1580bd-297f-4683-9239-e475b6d1d69f
  195. }
  196. loudness_enhancer {
  197. library loudness_enhancer
  198. uuid fa415329-2034-4bea-b5dc-5b381c8d1e2c
  199. }
  200. dynamics_processing {
  201. library dynamics_processing
  202. uuid e0e6539b-1781-7261-676f-6d7573696340
  203. }
  204. aec {
  205. library audio_pre_processing
  206. uuid 0f8d0d2a-59e5-45fe-b6e4-248c8a799109
  207. }
  208. ns {
  209. library audio_pre_processing
  210. uuid 1d97bb0b-9e2f-4403-9ae3-58c2554306f8
  211. }
  212. }
  213. # Default pre-processing effects. Add to audio_effect.conf "effects" section if
  214. # audio HAL implements support for them.
  215. #
  216. # agc {
  217. # library pre_processing
  218. # uuid aa8130e0-66fc-11e0-bad0-0002a5d5c51b
  219. # }
  220. # aec {
  221. # library pre_processing
  222. # uuid bb392ec0-8d4d-11e0-a896-0002a5d5c51b
  223. # }
  224. # ns {
  225. # library pre_processing
  226. # uuid c06c8400-8e06-11e0-9cb6-0002a5d5c51b
  227. # }
  228. # Audio preprocessor configurations.
  229. # The pre processor configuration consists in a list of elements each describing
  230. # pre processor settings for a given input source. Valid input source names are:
  231. # "mic", "camcorder", "voice_recognition", "voice_communication"
  232. # Each input source element contains a list of effects elements. The name of the effect
  233. # element must be the name of one of the effects in the "effects" list of the file.
  234. # Each effect element may optionally contain a list of parameters and their
  235. # default value to apply when the pre processor effect is created.
  236. # A parameter is defined by a "param" element and a "value" element. Each of these elements
  237. # consists in one or more elements specifying a type followed by a value.
  238. # The types defined are: "int", "short", "float", "bool" and "string"
  239. # When both "param" and "value" are a single int, a simple form is allowed where just
  240. # the param and value pair is present in the parameter description
  241. # pre_processing {
  242. # <input source name> {
  243. # <fx name> {
  244. # <param 1 name> {
  245. # param {
  246. # int|short|float|bool|string <value>
  247. # [ int|short|float|bool|string <value> ]
  248. # ...
  249. # }
  250. # value {
  251. # int|short|float|bool|string <value>
  252. # [ int|short|float|bool|string <value> ]
  253. # ...
  254. # }
  255. # }
  256. # <param 2 name > {<param> <value>}
  257. # ...
  258. # }
  259. # ...
  260. # }
  261. # ...
  262. # }
  263. # Added aec, ns effects for voice_commuincation, which are supported by the board
  264. pre_processing {
  265. voice_communication {
  266. aec {
  267. }
  268. ns {
  269. }
  270. }
  271. }
  272. #
  273. # TODO: add default audio pre processor configurations after debug and tuning phase
  274. #