summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-02-09Merge "audio: add Bluetooth LE Audio broadcast device"android-t-preview-2android-t-preview-1android-s-v2-beta-3android-s-qpr3-beta-1aosp-new/android-t-preview-1aosp-new/android-s-v2-beta-3aosp-new/android-s-qpr3-beta-1Eric Laurent2-0/+3
2022-02-09audio: add Bluetooth LE Audio broadcast deviceEric Laurent2-0/+3
Add audio device type definition for a Bluetooth LE audio broadcast group. Bug: 150670922 Test: make. Change-Id: Ic6ecf3e26e5ed4429e16f77bd686f120e21ca711 Merged-In: Ic6ecf3e26e5ed4429e16f77bd686f120e21ca711
2022-02-09Merge "Fix tee sink 12-channel file write"Andy Hung1-1/+1
2022-02-09Fix tee sink 12-channel file writeDean Wheatley1-1/+1
Test: TEE_SINK audio debug with 12-channel mixer thread Change-Id: I88fcd00f660d1487a6be455e4e0a80595a75e2e8
2022-02-08Merge changes from topic "upstream-hal-v7_1-p2"Treehugger Robot3-1/+9
* changes: Audio HAL V7.1: Add latency modes definitions audio: add spatializer output flag
2022-02-07Audio HAL V7.1: Add latency modes definitionsEric Laurent2-0/+7
Latency mode control on audio HAL streams is optional but mandated if spatial audio with head tracking is supported over Bluetooth classic audio link. Currently defined latency modes are: - Low: a playback latency compatible with headtracking round trip latency requriements - Free: no specific requirement on playback latency. Bug: 187446271 Test: make Change-Id: I37442ebffc66946d17425c53ece2b0afd8189898 (cherry picked from commit f4adfa99fbe765235daaaa4fcef377b1ec4e3bb9) Merged-In: I37442ebffc66946d17425c53ece2b0afd8189898
2022-02-07audio: add spatializer output flagEric Laurent1-1/+2
Add output flag AUDIO_OUTPUT_FLAG_SPATIALIZER indicating an output mix port dedicated to spatial audio. Bug: 210803914 Test: manual spatial audio tests Change-Id: I1083b75917356298d6ea30b9f951012825e864c4 Merged-In: I1083b75917356298d6ea30b9f951012825e864c4
2022-02-04Merge "Fix -Wbitwise-instead-of-logical"Pirama Arumuga Nainar1-3/+3
2022-02-02Merge "Adding bluetooth apex to libs which it depends on"Roopa Sattiraju1-0/+4
2022-02-02Adding bluetooth apex to libs which it depends onRoopa Sattiraju1-0/+4
Bug: 206121418 Test: Compile Merged-In: I2c6fa412210dbaf96552de87a35a943f1b69db64 Change-Id: I2c6fa412210dbaf96552de87a35a943f1b69db64
2022-01-28Fix -Wbitwise-instead-of-logicalPirama Arumuga Nainar1-3/+3
Bug: http://b/215753485 This warning is introduced in clang-r445002. Introduce temporary variables to make it clear that both checks are performed. Test: build with clang-r445002 Change-Id: I4de46dd93ce36ff03c2b0349b025ef4ce8213e68
2022-01-11Merge "Fix audio_utils when compiling against musl"Colin Cross4-2/+7
2021-12-15Fix audio_utils when compiling against muslColin Cross4-2/+7
Add missing headers required by musl, and adjust clock_nanosleep ifdefs. Bug: 190084016 Test: m USE_HOST_MUSL=true host-native Change-Id: I820bbc0e70ac93d25c39c5152bf6a81db12f7e7e
2021-12-14Merge "Merge Android 12 QPR1"Xin Li4-68/+68
2021-12-14Merge Android 12 QPR1Xin Li4-68/+68
Bug: 210511427 Merged-In: I44e07afa0df58fd2007b93640f3ad584f152359b Change-Id: I7765b77285d9b354c42c8811d6868cbb41daa41a
2021-12-10Merge "Change media OWNERS. Remove gkasten. Add philburk" am: 2d56245375aosp-new/temp-sc-samPhil Burk1-1/+1
Original change: https://android-review.googlesource.com/c/platform/system/media/+/1897157 Change-Id: I44e07afa0df58fd2007b93640f3ad584f152359b
2021-12-10Merge "Change media OWNERS. Remove gkasten. Add philburk"Phil Burk1-1/+1
2021-11-18Change media OWNERS. Remove gkasten. Add philburkPhil Burk1-1/+1
Change-Id: I2189ec78ce4adad8239ab992cdc64234a68ff481
2021-11-10Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918Xin Li4-68/+68
Bug: 205056467 Merged-In: Ib412dd5c57d90961cfbd87716b99a32c9e36efff Change-Id: I82eb6545ac72fa553a32eddc5fcc84c73ae22222
2021-11-05Merge "audio_utils: Biquad - optimize single channel case" am: ead5845174Treehugger Robot3-310/+380
Original change: https://android-review.googlesource.com/c/platform/system/media/+/1871915 Change-Id: Icba02c997ed40b2b009f3f0e12e00950e466dab2
2021-11-05Merge "audio_utils: Biquad - optimize single channel case"Treehugger Robot3-310/+380
2021-11-05audio_utils: Biquad - optimize single channel caseAndy Hung3-310/+380
Fold 2 iterations together, speed up of 10%. For now, the default Biquad does not enable this optimization as the results for single channel will not be bit-identical to multiple channels. Test: atest biquad_filter_tests Test: atest biquad_filter_benchmark Bug: 200297980 Change-Id: Ib4dda1dda61a0e282ce7e7803238bd7b782a62dc
2021-11-05Merge "BiquadFilter: Add ConstOptions template parameter." am: bc856d617cAndy Hung2-50/+88
Original change: https://android-review.googlesource.com/c/platform/system/media/+/1880721 Change-Id: Id52aa7d955833fcae628ed0d03203365215123b4
2021-11-05Merge "BiquadFilter: Add ConstOptions template parameter."Andy Hung2-50/+88
2021-11-03BiquadFilter: Add ConstOptions template parameter.Andy Hung2-50/+88
Add ConstOptions template parameter to pass compile time options to the BiquadFilter class. This allows selection of BiquadDirect2Transpose, BiquadStateSpace, or a user defined Biquad filter kernel. Test: atest biquad_filter_tests Bug: 200297980 Change-Id: Id317f1c9400b5fe123f1d03d219ecdb95ace0981
2021-10-27Merge "audio_utils: Use array for filter state." am: b1fe2e54f3Andy Hung1-41/+34
Original change: https://android-review.googlesource.com/c/platform/system/media/+/1870800 Change-Id: Ieedcf34a3c70ecba8d5ddc7541bc482b6e363b4e
2021-10-27Merge "audio_utils: Use array for filter state."Andy Hung1-41/+34
2021-10-26audio_utils: Use array for filter state.Andy Hung1-41/+34
Ensures sequential placement and access of data. Test: atest biquad_filter_tests Bug: 200297980 Merged-In: I540c93d44b03893d7489d1a1027d2b1ed9b2f5dc Change-Id: I540c93d44b03893d7489d1a1027d2b1ed9b2f5dc
2021-10-26Merge changes I48db8476,Ieb222293,If3bb87da,I22ca2c60 am: c5995024d7Andy Hung2-307/+493
Original change: https://android-review.googlesource.com/c/platform/system/media/+/1870314 Change-Id: I543d0c76c93e813df9f88e27d67f53d81059a5fd
2021-10-26audio_utils: Biquad refactorization am: d96c30322aAndy Hung4-581/+797
Original change: https://android-review.googlesource.com/c/platform/system/media/+/1870313 Change-Id: I8c30d8501fdee42fe6e766ed8077f9b691541829
2021-10-26audio_utils: Biquad test update to 2nd order IIR am: ecce12bca1Andy Hung1-9/+11
Original change: https://android-review.googlesource.com/c/platform/system/media/+/1869743 Change-Id: I4f17176bb5bbda0acbce39c37c5515f7514ef89e
2021-10-26audio_utils: Biquad update benchmark for 24 channels am: 595e5a5f5fAndy Hung1-135/+322
Original change: https://android-review.googlesource.com/c/platform/system/media/+/1869742 Change-Id: I39a32aafe276a471352845746bb3946201e6abc3
2021-10-26Merge changes I48db8476,Ieb222293,If3bb87da,I22ca2c60android-s-v2-preview-2android-s-v2-preview-1android-s-v2-beta-2aosp-new/android-s-v2-preview-1Andy Hung5-415/+1006
* changes: audio_utils: Biquad state space implementation audio_utils: Biquad refactorization audio_utils: Biquad test update to 2nd order IIR audio_utils: Biquad update benchmark for 24 channels
2021-10-25audio_utils: Biquad state space implementationAndy Hung2-307/+493
Improves numerical precision of poles near unit circle. Improves speed by up to 20%. Test: atest biquad_filter_tests Test: atest biquad_benchmark Bug: 200297980 Merged-In: I48db84764fe00cf6df300e2c38e55a60482c3142 Change-Id: I48db84764fe00cf6df300e2c38e55a60482c3142
2021-10-25audio_utils: Biquad refactorizationAndy Hung4-581/+797
Allow multiple filter kernel implementations. Optimize by allowing one unroll. General improvement ~30% for large channel counts. Test: atest biquad_benchmark Test: atest biquad_filter_tests Test: atest intrinsic_tests Bug: 200297980 Merged-In: Ieb2222938810a378344b0e556fd97aa2102a90f7 Change-Id: Ieb2222938810a378344b0e556fd97aa2102a90f7
2021-10-25audio_utils: Biquad test update to 2nd order IIRAndy Hung1-9/+11
Test: atest biquad_filter_tests Bug: 200297980 Merged-In: If3bb87da7e75f3cb085d21ed64174c28931b2782 Change-Id: If3bb87da7e75f3cb085d21ed64174c28931b2782
2021-10-25audio_utils: Biquad update benchmark for 24 channelsAndy Hung1-135/+322
Test: atest biquad_filter_benchmark Bug: 200297980 Merged-In: I22ca2c60150827b9712d92ba383a2b27d3e250ac Change-Id: I22ca2c60150827b9712d92ba383a2b27d3e250ac
2021-10-08[automerger skipped] Merge "Merge Android 12" am: a31acf68ef -s ours am: ↵Xin Li0-0/+0
686993ee57 -s ours am: a554f16a2a -s ours am skip reason: Merged-In I38b9df38bb0b66d5a83763d340b817b7e089d2c6 with SHA-1 ed4fbf7080 is already in history Original change: https://android-review.googlesource.com/c/platform/system/media/+/1847921 Change-Id: Ib412dd5c57d90961cfbd87716b99a32c9e36efff
2021-10-08[automerger skipped] Merge "Merge Android 12" am: a31acf68ef -s ours am: ↵Xin Li0-0/+0
686993ee57 -s ours am skip reason: Merged-In I38b9df38bb0b66d5a83763d340b817b7e089d2c6 with SHA-1 ed4fbf7080 is already in history Original change: https://android-review.googlesource.com/c/platform/system/media/+/1847921 Change-Id: Ia380d0aa380ee1401019457fd85c9d887307ac9b
2021-10-08[automerger skipped] Merge "Merge Android 12" am: a31acf68ef -s oursXin Li0-0/+0
am skip reason: Merged-In I38b9df38bb0b66d5a83763d340b817b7e089d2c6 with SHA-1 ed4fbf7080 is already in history Original change: https://android-review.googlesource.com/c/platform/system/media/+/1847921 Change-Id: I4a2230db1f28ad9013ac75b3ebfbe89cb86e9dcc
2021-10-07Merge "Merge Android 12"Xin Li47-5038/+5714
2021-10-06Merge Android 12Xin Li47-5038/+5714
Bug: 202323961 Merged-In: I38b9df38bb0b66d5a83763d340b817b7e089d2c6 Change-Id: I331fbbf1c673fea6b6524ac2da0847b17561031e
2021-09-29[automerger skipped] Merge SP1A.210812.016 am: ed4fbf7080 -s ours am: ↵Xin Li0-0/+0
05fad26a3a -s ours am skip reason: Merged-In I8797bce02838c51f5443fe628b25c17ac961956d with SHA-1 e66a1c26f4 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/system/media/+/15930919 Change-Id: Id8030b2b9d9231761b04890398218f96653ddb34
2021-09-29[automerger skipped] Merge SP1A.210812.016 am: ed4fbf7080 -s oursXin Li0-0/+0
am skip reason: Merged-In I8797bce02838c51f5443fe628b25c17ac961956d with SHA-1 e66a1c26f4 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/system/media/+/15930919 Change-Id: Iae44969cc4aaa7b392fa8a8cf19a7891e5939e90
2021-09-28Merge SP1A.210812.016Xin Li2-1/+7
Merged-In: I8797bce02838c51f5443fe628b25c17ac961956d Change-Id: I38b9df38bb0b66d5a83763d340b817b7e089d2c6
2021-09-28DO NOT MERGE - Empty merge to indicate SP1A.210812.001 is already merged am: ↵Xin Li0-0/+0
c5066464ae am: ba5aefbaa7 Original change: https://googleplex-android-review.googlesource.com/c/platform/system/media/+/15930902 Change-Id: I69ba042aed53cff25d22db5cc87b20195f66788e
2021-09-28DO NOT MERGE - Empty merge to indicate SP1A.210812.001 is already merged am: ↵Xin Li0-0/+0
c5066464ae Original change: https://googleplex-android-review.googlesource.com/c/platform/system/media/+/15930902 Change-Id: I85e4b2863a77c04013d5cb49396893cc498ec45c
2021-09-28DO NOT MERGE - Empty merge to indicate SP1A.210812.001 is already mergedXin Li0-0/+0
Merged-In: I0b97afcc5b43b0a1443bd1985714bf37268e8618 Change-Id: I95c2d90f24ff863689c9b898d455ba09ce0d4dd8
2021-09-25Correct enum values for framework-only keys. am: ee096d6463Jayant Chowdhary4-68/+68
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/media/+/15822893 Change-Id: I38b8f5a277508945fa7e1b146f24d4a2aa72c1e2
2021-09-24Correct enum values for framework-only keys.android-12.0.0_r32android-12.0.0_r29android-12.0.0_r27android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18aosp-new/android12-qpr1-d-s3-releaseaosp-new/android12-qpr1-d-s2-releaseaosp-new/android12-qpr1-d-s1-releaseaosp-new/android12-qpr1-d-releaseJayant Chowdhary4-68/+68
Interchange enum value TRUE and false for SCALER_CROP_REGION / AF / AE / AWB set keys (framework-only) in order to match the java values of these keys. Bug: 199300149 Test: Check dumpsys media.camera after some captures changing metering regions -> *_SET keys are set to TRUE. Test: gts CameraTest.java#testDigitalZoom Test: camera CTS Merged-In: Iba223e2c9e5528202a1115ec92f290334d00fe03 Change-Id: Iba223e2c9e5528202a1115ec92f290334d00fe03 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com> (cherry picked from commit 28ada9c8b35563de9b19f6d8291b118840ba04f8)