-
Notifications
You must be signed in to change notification settings - Fork 422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Device Request for Lineage #5
Open
DeveloperDroid18
wants to merge
35
commits into
lineage-16.0
Choose a base branch
from
lineage-15.1
base: lineage-16.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Change-Id: I0913447dca830307d41286499ed69cd3e1e197c4
Change-Id: I59dabea4484dd1f1e5c57ae2ac37b9939d2c875d (cherry picked from commit d0e2080)
Change-Id: Icfdc5fae064f66bfcaf061bff0d0d1e5554f126d
This allows us to distinguish not only by platform and subtype at build time, but also by device-specific model. It is required because two devices may share the same kernel sources and thus build the same dtbs, but the resulting dt.img should be devie specific and only contain the specific dtbs for that device. Otherwise we are likely to violate dt.img size constraints by including too many dtbs (which is the case for a5y17lte and a7y17lte right now). For now, the feature will be optional (existing samsung_dtbh.h headers don't have to be changed) but that might change in the future. Change-Id: I2d804f9f1a14051e60f4de4f3d2d4f11c9b3c23f
Change-Id: Ic2d979b5db335a695492ed0cc3e0f08013f9d8d0
Some new S7 devices are sold with cc:c0:79 MAC Address. Adding this address in file macaddr_mappings.h is required in order to load proper drivers. Without it, the WiFi does not work properly : signal is weak Change-Id: I9845f8739cf3e5a4caea9eeb989576877d088731 (cherry picked from commit f66c95b)
Change-Id: I7118446dae352f7ed8079c37e0b58961994c14f4
Fixes: BUGBASH-302 Correctly use 16khz for the WBS-SCO pcm_config. No more garbled or mute in-call sound on bt. Apply together with a device specific port of: https://review.lineageos.org/#/c/177996/ and REMOVE any definitions of SCO_WBS_SAMPLE_RATE https://review.lineageos.org/#/c/178371/ This requires testing for all devices using: android_hardware_samsung (universal audio HAL part) Change-Id: I84fb1b234bf2880bf98bf99f1e4ff6c05500b0e3
Change-Id: Id0d4ea2797e1ef8f833c48975567a89fb325e1df
Observed on new s7 models Change-Id: Ic2d2068d6e7ba4f1dedb1e3fd83c9a5797523d86
Change-Id: Ia8c21170075bc9cf32a1c55a5da3c5ee1b0f3abd
Change-Id: I714d27f512ae0d1324374ad7f40677a287ab25cd
Change-Id: I7afae85e6462b2c4b91999ad65e82e92ab0db8e3
verified on https://www.wireshark.org/tools/oui-lookup.html 10: 98:C3 MurataMa Murata Manufacturing Co., Ltd. 24: 18:1D SamsungE Samsung Electro-Mechanics(Thailand) 30: 07:4D SamsungE Samsung Electro-Mechanics(Thailand) 94: 76:B7 SamsungE Samsung Electronics Co.,Ltd Change-Id: I3e3aebfca89b68fcb188ff955efdb1b8d32d16af
Confirmed with https://www.wireshark.org/tools/oui-lookup.html 08:C5:E1 SamsungE Samsung Electro-Mechanics(Thailand) Change-Id: Ief2ec0a19c554aeb4266a64cd58aec56baf9cfe5
Confirmed with https://www.wireshark.org/tools/oui-lookup.html 48:13:7E SamsungE Samsung Electronics Co.,Ltd E8:3A:12 SamsungE Samsung Electronics Co.,Ltd F8:E6:1A SamsungE Samsung Electronics Co.,Ltd Change-Id: Ic7225951cee415d68a917031d5f969f45a9cc7ec
Some devices like the Samsung Galaxy S6, require this to be run at the end of the voice session. However some devices also need this to be run at the start of the voice session whereas the S6 does not (see previous commit). Change-Id: I833b57e262795fcbd8be6f44afb17b0f1ca6fee3 Signed-off-by: Usaamah Patel <[email protected]>
This is part of a cleanup series. In the future, we should reconsider the struct usage and (maybe?) move the members into one common place. Change-Id: I3218d75acb0c4965332ba0de30b40ca7821596a7
This never use - because - out->sample_rate and out->config configured in adev_open_output_stream out->config = can have deep or no pcm config with only 48000 sample rate. Change-Id: Ie1c4025585ab6e1b7a900486181c1bceeff88139
Change-Id: I70fbd41ac386d7ea9a7fa0abb540151727461ac1
Add check_and_route_usecases - this function is to make sure that all the usecases that are active on the hardware codec backend are always routed to any one device that is handled by the hardware codec. Example: When voice call starting - we need earpice - hal enable earpice, but befor - we put call button - and hal enable speaker and play sound - "click" And now we have speaker and earpice enabled. Later when audioflinger send standby (default after 3 sec) to stream which use speaker - hal disable speaker while voice call active - and we have no sound in earpice. check_and_route_usecases will not allow such situations. Change-Id: Ibc534bb14c25e4a4ffb4f3487d1424e9e1ed6a67
Myabe this related to htc flounder hw but this not needed for samsung and this cause bug when hal trying open bt pcm device for system sounds while voice call active on sco and bt pcm device opened with start_voice_session_bt_sco. Change-Id: I75482dad42feccae5e8ca9df2623ef4693a7bdb0
Use AUDIO_DEVICE_OUT_BLUETOOTH_SCO AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET and AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT and not only AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET for voice calls. Remove default voice_mic for sco devices - why we need default mic for sco output devices if now we handle all sco output devices. Change-Id: Ibf4eb42eebcf7dc229649d8afe6e8b3ea9354165
This commit cause bug - no sound after end voice call when using speaker. Sound come back after audioflinger send standby and hal reenable speaker for new stream (usecase). Reason - hal need reenable speaker (or other devices) for other streams (usecases). This reverts commit f33a728. Change-Id: Icde4e83ab824008e931b681cdbb6e11d6a2a7aa5
In order to activate proprietary sound pre- and post-processing, the following parts of audio HAL were revised: * Activated ENABLE_PREPROCESSING directive in Android.mk * Removed unused variables and functions * Re-written set_preprocessor_echo_delay() function Change-Id: I868087f422764895df7d2bc6bbf4bbd76672b8e7
Change-Id: I312d2a36009ec1415dd5ccba4fbb68ae4a10e2ab
Current HAL start/stop bt_sco session only for incall mode - rewrite logic to start/stop bt session when system switch to one of the bluetooth devices. Move bt_sco_active and pcm_sco_rx/tx to main audio_device structure. Remove bt_sco_capture profile. Change-Id: I7bbe4273f759e255bb857f8292f2921df31d4b0b Signed-off-by: stenkinevgeniy <[email protected]>
…ecs. Some devices, that using wm* codecs like i9500, t805, p601 and others need open CP pcm's when using BT SCO in IN_COMMUNICATION mode. Change-Id: I64935aabf1c52e66409e727f02752cd325f8ef58 Signed-off-by: stenkinevgeniy <[email protected]>
Fixes audioserver crash in in_get_capture_position() if PCM input device was not properly opened. Signed-off-by: Vasyl Gello <[email protected]> Change-Id: I2f2d9bc8151cf61af112a9544268513effacacb5
Change-Id: Ie6d58fe13af35716a406feb262e6e18954c26c36
Change-Id: I882aff6ec1e8dec88330dc0fa5ba09c0ecc036c2
Change-Id: Ib0842c26a699dc1733a69087e789292dc795d3c4
Change-Id: I3c807425499b02ef2a1d702f256185cdee66a13e
Change-Id: I6d0977e921311478d3ce5e4ad50eab56d937194e
Change-Id: I1ca6298d0132fbaf4e6401c65271134d16aa8dd5
Code changes to LineageOS are submitted through Gerrit - https://wiki.lineageos.org/how-to/submitting-patches |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.