audio_effects.conf revision 83f400056ac913250f0926326ff78697c68d18a1
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# } 8libraries { 9 bundle { 10 path /system/lib/soundfx/libbundlewrapper.so 11 } 12 reverb { 13 path /system/lib/soundfx/libreverbwrapper.so 14 } 15 visualizer { 16 path /system/lib/soundfx/libvisualizer.so 17 } 18 downmix { 19 path /system/lib/soundfx/libdownmix.so 20 } 21 loudness_enhancer { 22 path /system/lib/soundfx/libldnhncr.so 23 } 24} 25 26# Default pre-processing library. Add to audio_effect.conf "libraries" section if 27# audio HAL implements support for default software audio pre-processing effects 28# 29# pre_processing { 30# path /system/lib/soundfx/libaudiopreprocessing.so 31# } 32 33# list of effects to load. Each effect element must contain a "library" and a "uuid" element. 34# The value of the "library" element must correspond to the name of one library element in the 35# "libraries" element. 36# The name of the effect element is indicative, only the value of the "uuid" element 37# designates the effect. 38# The uuid is the implementation specific UUID as specified by the effect vendor. This is not the 39# generic effect type UUID. 40# effects { 41# <fx name> { 42# library <lib name> 43# uuid <effect uuid> 44# } 45# ... 46# } 47 48effects { 49 bassboost { 50 library bundle 51 uuid 8631f300-72e2-11df-b57e-0002a5d5c51b 52 } 53 virtualizer { 54 library bundle 55 uuid 1d4033c0-8557-11df-9f2d-0002a5d5c51b 56 } 57 equalizer { 58 library bundle 59 uuid ce772f20-847d-11df-bb17-0002a5d5c51b 60 } 61 volume { 62 library bundle 63 uuid 119341a0-8469-11df-81f9-0002a5d5c51b 64 } 65 reverb_env_aux { 66 library reverb 67 uuid 4a387fc0-8ab3-11df-8bad-0002a5d5c51b 68 } 69 reverb_env_ins { 70 library reverb 71 uuid c7a511a0-a3bb-11df-860e-0002a5d5c51b 72 } 73 reverb_pre_aux { 74 library reverb 75 uuid f29a1400-a3bb-11df-8ddc-0002a5d5c51b 76 } 77 reverb_pre_ins { 78 library reverb 79 uuid 172cdf00-a3bc-11df-a72f-0002a5d5c51b 80 } 81 visualizer { 82 library visualizer 83 uuid d069d9e0-8329-11df-9168-0002a5d5c51b 84 } 85 downmix { 86 library downmix 87 uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f 88 } 89 loudness_enhancer { 90 library loudness_enhancer 91 uuid fa415329-2034-4bea-b5dc-5b381c8d1e2c 92 } 93} 94 95# Default pre-processing effects. Add to audio_effect.conf "effects" section if 96# audio HAL implements support for them. 97# 98# agc { 99# library pre_processing 100# uuid aa8130e0-66fc-11e0-bad0-0002a5d5c51b 101# } 102# aec { 103# library pre_processing 104# uuid bb392ec0-8d4d-11e0-a896-0002a5d5c51b 105# } 106# ns { 107# library pre_processing 108# uuid c06c8400-8e06-11e0-9cb6-0002a5d5c51b 109# } 110 111# Audio preprocessor configurations. 112# The pre processor configuration consists in a list of elements each describing 113# pre processor settings for a given input source. Valid input source names are: 114# "mic", "camcorder", "voice_recognition", "voice_communication" 115# Each input source element contains a list of effects elements. The name of the effect 116# element must be the name of one of the effects in the "effects" list of the file. 117# Each effect element may optionally contain a list of parameters and their 118# default value to apply when the pre processor effect is created. 119# A parameter is defined by a "param" element and a "value" element. Each of these elements 120# consists in one or more elements specifying a type followed by a value. 121# The types defined are: "int", "short", "float", "bool" and "string" 122# When both "param" and "value" are a single int, a simple form is allowed where just 123# the param and value pair is present in the parameter description 124# pre_processing { 125# <input source name> { 126# <fx name> { 127# <param 1 name> { 128# param { 129# int|short|float|bool|string <value> 130# [ int|short|float|bool|string <value> ] 131# ... 132# } 133# value { 134# int|short|float|bool|string <value> 135# [ int|short|float|bool|string <value> ] 136# ... 137# } 138# } 139# <param 2 name > {<param> <value>} 140# ... 141# } 142# ... 143# } 144# ... 145# } 146 147# 148# TODO: add default audio pre processor configurations after debug and tuning phase 149# 150