Age | Commit message (Collapse) | Author |
|
* Enabled multiple appended DTBs support to allow db845c
boot.img/vendor_boot.img to boot on rb5 as well.
* Introduced a vendor.hw property which will be used to run
device specific services.
* Folded Caleb's HDMI audio routing fix.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: I779d01946ae359d5c405d959419e29460083e5df
|
|
This patch changes the output/input card selection from being
hard-coded to chosen at runtime.
The selection process is a bit "simple" in that it will try each
card in order and pick the first available.
Eventually, we probably need a fancier HAL to handle more dynamic
audio configs (without colliding with the in-framework usb headset
handling, for instance). It would be nicer to actually check the
/sys/class/sound/card*/id values and be able to have a preferred
name that is selected, but I figured this was a start.
With this patch, adding a usb web cam (which reorders the card
numbers) no longer breaks HDMI audio output.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I9504a1c50da09dfed116c32247fc79255ae5646e
|
|
Added SPDX-license-identifier-Apache-2.0 to:
audio/Android.mk
libmemtrack/Android.mk
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
SPDX-license-identifier-MIT SPDX-license-identifier-OpenSSL
legacy_by_exception_only
to:
Android.bp
Added SPDX-license-identifier-BSD
to:
qcom/pd-mapper/Android.bp
qcom/qrtr/Android.bp
qcom/rmtfs/Android.bp
qcom/tqftpserv/Android.bp
Added SPDX-license-identifier-MIT
to:
gralloc/Android.mk
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: If3396b5bd63553d0fcdb8cc7abb79b73cec46a7a
|
|
Signed-off-by: Alden DSouza <aldend@google.com>
Change-Id: Iae726f0818464fc09d809120cbba1eb8b109e031
|
|
Copied from device/amlogic/generic/hal/audio/ minus the
speaker equalizer filter file.
It is a generic and more feature rich HAL, plus it fixes
the occasional static noise we hear on db845c and PocoF1.
Removed the mixer control settings from qcom/init.qcom.rc
and added HDMI out mixer control in etc/mixer_paths.xml
to start with. ** Analog audio out is not tested yet. **
ToDo:
1. Fallback to Analog audio port if the monitor doesn't
support HDMI audio out.
2. Mic AEC support is integrated deep in this HAL, so I
didn't remove it. Might as well test and use that
feature on Pixel 3 and Poco F1. Same with speaker EQ,
though we may end up never using this equalizer
feature at all.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: I85614abdd684ab67f405f4c0e48380668ade4e06
|
|
This reverts commit 1641199f230d7926891a9c6a9d09b6c9b8f411db.
This sets the default audio device back to HDMI
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I44fdecfbcf3e189ddd97f8f95dfa69968fcfc8ac
|
|
For db845c, set Analog stereo speakers port as
default audio out since HDMI audio out is WIP.
"PCM_DEVICE 0" corresponds to HDMI audio out (WIP).
"PCM_DEVICE 1" is 8 Ohm Analog speakers.
Change-Id: I818fe380ab0f4094f7364aa4357045b1927dc56b
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
Existing HAL copied from goldfish days seem to be obsolete
and didn't work as expected with both analog speakers (WIP)
and BT audio profiles. So copied generic audio HAL from
Cuttlefish and verified BT and analog audio playback.
Change-Id: Ib7fbea1c02240663e3406865f3a21544b1aec793
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
Boots dragonboard db845c to console.
HDMI display broken due to missing firmware files.
Change-Id: I820aeb7b7ab2536a362f9ae37cc44906be0a6190
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|