For earpiece to be properly enumerated as a output device,
set valid and supported out_ channel mask.
Change-Id: Ic83b009956ff43567b3acbb186d0069b16e91e83
Adding stereo config channel support to usb surround sound proflle
to address CTS-V failure issue seen due to mismatch in channel mask
support for record usecase
Change-Id: Ib50511d2fa6df24b3aa4764553cd48726129b2c2
* The following things are left in devices, because they're device specific
- voip compress properties
- HVDCP properties
- audio configs
- power profile
- rounded corner configuration
- partition configuration
- FOD
- camera motor
- NFC
- board-info
- fstab
- ipa and graphics firmware
- shipping and manifest target level
Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: I8bef29041f8f239361b999fc8ab1a43cc2ebb86b
* Xiaomi is using the earpiece echo reference paths in their HAL,
while CAF uses handset paths.
* Rename the earpiece mixer paths to handset mixer paths in order
to apply the correct echo reference for the CAF hal.
Change-Id: Id917fb33f49009e8145c58638e9fa6d05670473e
* Xiaomi's audio HAL uses the "echo-reference-voip speaker" path during voip
calls in speaker mode, while the CAF hal uses the "echo-reference-voip" path.
* That led to an echo in voip speaker calls since xiaomi appends speaker
to the path name and hence the echo reference wasn't set up properly, because
xiaomi did not apply their echo-reference edits to the default path.
* To fix this we can apply xiaomi's "echo-reference speaker" and
"echo-reference-voip speaker" as "echo-reference" and "echo-reference-voip".
* Remove the "echo-reference speaker" and "echo-reference-voip speaker" paths
because they are the same as "echo-reference" and "echo-reference-voip" and
even if the HAL will support speaker paths one day, it would not be needed for
us since we don't need to differ between speaker and no suffix.
Change-Id: I9c2d42db6870c7f3579f5d96756a8bd4063022c8
* libshoebox.so does not exist anymore
* HW_ACCELERATED has been disabled by default as stated in the HAL
E EffectsFactoryConfigLoader: Could not find library in effect directories: libshoebox.so
E EffectsFactoryConfigLoader: Error querying effect 7d1580bd-297f-4683-9239-e475b6d1d69f on lib offload_bundle
E EffectsFactoryConfigLoader: Could not find library shoebox to load effect shoebox
E EffectsFactoryConfigLoader: 3 errors during loading of configuration: /vendor/etc/audio_effects.xml
Change-Id: I2407c03728930995213f16ec0551e4194fbb7476
Signed-off-by: Arian <arian.kulmer@web.de>