Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
278 changes: 74 additions & 204 deletions audio/audio_effects.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
#
# This file was modified by Dolby Laboratories, Inc. The portions of the
# code that are surrounded by "DOLBY..." are copyrighted and
# licensed separately, as follows:
#
# (C) 2012-2016 Dolby Laboratories, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# List of effect libraries to load. Each library element must contain a "path" element
# giving the full path of the library .so file.
# libraries {
Expand All @@ -6,104 +25,46 @@
# }
# }
libraries {
# This is a proxy library that will be an abstraction for
# the HW and SW effects

#proxy {
#path /system/lib/soundfx/libeffectproxy.so
#}

# This is the SW implementation library of the effect
#libSW {
#path /system/lib/soundfx/libswwrapper.so
#}

# This is the HW implementation library for the effect
#libHW {
#path /system/lib/soundfx/libhwwrapper.so
#}

bundle {
path /system/lib/soundfx/libbundlewrapper.so
}
reverb {
path /system/lib/soundfx/libreverbwrapper.so
}
qcbassboost {
path /vendor/lib/soundfx/libqcbassboost.so
}
qcvirt {
path /vendor/lib/soundfx/libqcvirt.so
}
qcreverb {
path /vendor/lib/soundfx/libqcreverb.so
}
visualizer_sw {
visualizer {
path /system/lib/soundfx/libvisualizer.so
}
visualizer_hw {
path /system/lib/soundfx/libqcomvisualizer.so
}
downmix {
path /system/lib/soundfx/libdownmix.so
}
loudness_enhancer {
path /system/lib/soundfx/libldnhncr.so
}
proxy {
path /system/lib/soundfx/libeffectproxy.so
}
offload_bundle {
path /system/lib/soundfx/libqcompostprocbundle.so
#DOLBY_ENABLE
dap_sw {
path /system/vendor/lib/soundfx/libswdap.so
}
audio_pre_processing {
path /system/lib/soundfx/libqcomvoiceprocessing.so
}
dirac {
path /system/lib/soundfx/libdirac.so
dap_hw {
path /system/vendor/lib/soundfx/libhwdap.so
}
}

# Audio global processor configurations.
# The global processor configuration consists in a list of effects elements.
# The name of the effect element must be the name of one of the effects in
# the "effects" list of the file.
# Each effect element may optionally contain a list of parameters and their
# default value to apply when the pre processor effect is created.
# A parameter is defined by a "param" element and a "value" element. Each of these elements
# consists in one or more elements specifying a type followed by a value.
# The types defined are: "int", "short", "float", "bool" and "string"
# When both "param" and "value" are a single int, a simple form is allowed where just
# the param and value pair is present in the parameter description
# global_processing {
# <fx name> {
# <param 1 name> {
# param {
# int|short|float|bool|string <value>
# [ int|short|float|bool|string <value> ]
# ...
# }
# value {
# int|short|float|bool|string <value>
# [ int|short|float|bool|string <value> ]
# ...
# }
# }
# <param 2 name > {<param> <value>}
# ...
# }
# ...
# }
global_processing {
dirac {
bl@lakala {
param {
int 6
}
value {
string *com.lakala.android
}
}
bl@jawboneup {
param {
int 6
}
value {
string *com.jawbone.up
}
}
bl@hojyremote {
param {
int 6
}
value {
string *com.hojy.hremote
}
}
}
#DOLBY_END
}

# Default pre-processing library. Add to audio_effect.conf "libraries" section if
Expand Down Expand Up @@ -152,145 +113,65 @@ effects {
#} End of effect proxy

bassboost {
library proxy
uuid 14804144-a5ee-4d24-aa88-0002a5d5c51b

libsw {
library qcbassboost
uuid 23aca180-44bd-11e2-bcfd-0800200c9a66
}

libhw {
library offload_bundle
uuid 2c4a8c24-1581-487f-94f6-0002a5d5c51b
}
library bundle
uuid 8631f300-72e2-11df-b57e-0002a5d5c51b
}
virtualizer {
library proxy
uuid d3467faa-acc7-4d34-acaf-0002a5d5c51b

libsw {
library qcvirt
uuid e6c98a16-22a3-11e2-b87b-f23c91aec05e
}

libhw {
library offload_bundle
uuid 509a4498-561a-4bea-b3b1-0002a5d5c51b
}
library bundle
uuid 1d4033c0-8557-11df-9f2d-0002a5d5c51b
}
equalizer {
library proxy
uuid c8e70ecd-48ca-456e-8a4f-0002a5d5c51b

libsw {
library bundle
uuid ce772f20-847d-11df-bb17-0002a5d5c51b
}

libhw {
library offload_bundle
uuid a0dac280-401c-11e3-9379-0002a5d5c51b
}
library bundle
uuid ce772f20-847d-11df-bb17-0002a5d5c51b
}
volume {
library bundle
uuid 119341a0-8469-11df-81f9-0002a5d5c51b
}
reverb_env_aux {
library proxy
uuid 48404ac9-d202-4ccc-bf84-0002a5d5c51b

libsw {
library qcreverb
uuid a8c1e5f3-293d-43cd-95ec-d5e26c02e217
}

libhw {
library offload_bundle
uuid 79a18026-18fd-4185-8233-0002a5d5c51b
}
library reverb
uuid 4a387fc0-8ab3-11df-8bad-0002a5d5c51b
}
reverb_env_ins {
library proxy
uuid b707403a-a1c1-4291-9573-0002a5d5c51b

libsw {
library qcreverb
uuid 791fff8b-8129-4655-83a4-59bc61034c3a
}

libhw {
library offload_bundle
uuid eb64ea04-973b-43d2-8f5e-0002a5d5c51b
}
library reverb
uuid c7a511a0-a3bb-11df-860e-0002a5d5c51b
}
reverb_pre_aux {
library proxy
uuid 1b78f587-6d1c-422e-8b84-0002a5d5c51b

libsw {
library qcreverb
uuid 53ef1db5-c0c0-445b-b060-e34d20ebb70a
}

libhw {
library offload_bundle
uuid 6987be09-b142-4b41-9056-0002a5d5c51b
}
library reverb
uuid f29a1400-a3bb-11df-8ddc-0002a5d5c51b
}
reverb_pre_ins {
library proxy
uuid f3e178d2-ebcb-408e-8357-0002a5d5c51b

libsw {
library qcreverb
uuid b08a0e38-22a5-11e2-b87b-f23c91aec05e
}

libhw {
library offload_bundle
uuid aa2bebf6-47cf-4613-9bca-0002a5d5c51b
}
library reverb
uuid 172cdf00-a3bc-11df-a72f-0002a5d5c51b
}
visualizer {
library proxy
uuid 1d0a1a53-7d5d-48f2-8e71-27fbd10d842c

libsw {
library visualizer_sw
uuid d069d9e0-8329-11df-9168-0002a5d5c51b
}

libhw {
library visualizer_hw
uuid 7a8044a0-1a71-11e3-a184-0002a5d5c51b
}
library visualizer
uuid d069d9e0-8329-11df-9168-0002a5d5c51b
}
downmix {
library downmix
uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f
}
hw_acc {
library offload_bundle
uuid 7d1580bd-297f-4683-9239-e475b6d1d69f
}
loudness_enhancer {
library loudness_enhancer
uuid fa415329-2034-4bea-b5dc-5b381c8d1e2c
}
aec {
library audio_pre_processing
uuid 0f8d0d2a-59e5-45fe-b6e4-248c8a799109
}
ns {
library audio_pre_processing
uuid 1d97bb0b-9e2f-4403-9ae3-58c2554306f8
}
dirac {
library dirac
uuid e069d9e0-8329-11df-9168-0002a5d5c51b
#DOLBY_ENABLE
dap {
library proxy
uuid 9d4921da-8225-4f29-aefa-39537a04bcaa

libsw {
library dap_sw
uuid 6ab06da4-c516-4611-8166-452799218539
}

libhw {
library dap_hw
uuid a0c30891-8246-4aef-b8ad-d53e26da0253
}
}
#DOLBY_END
}

# Default pre-processing effects. Add to audio_effect.conf "effects" section if
Expand Down Expand Up @@ -345,17 +226,6 @@ effects {
# ...
# }

# Added aec, ns effects for voice_commuincation, which are supported by the board

pre_processing {
voice_communication {
aec {
}
ns {
}
}
}

#
# TODO: add default audio pre processor configurations after debug and tuning phase
#