Shunkai Yao
55fb557a81
Merge "Effect AIDL: remove placeholder effect from default implementation" into main
2024-03-08 20:14:22 +00:00
Jerry Wong
5dc07d429d
audio: Add AUDIO_FORMAT_DEFAULT to supported formats (V6) am: 50bf1116fc
am: 12b2c93b10
am: bd701ebc51
am: ee5066c40d
am: b74c11d1c7
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2989191
Change-Id: Iaed42974c9da47819dfaedcb0ee35f54ca81ad98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-08 04:35:05 +00:00
Jerry Wong
b74c11d1c7
audio: Add AUDIO_FORMAT_DEFAULT to supported formats (V6) am: 50bf1116fc
am: 12b2c93b10
am: bd701ebc51
am: ee5066c40d
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2989191
Change-Id: Id9d1f231d050e7bd1d01b08b7e8874d6e4464fce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-08 04:10:01 +00:00
Jerry Wong
ee5066c40d
audio: Add AUDIO_FORMAT_DEFAULT to supported formats (V6) am: 50bf1116fc
am: 12b2c93b10
am: bd701ebc51
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2989191
Change-Id: I86014692bf87fb9529ff1c05d7141c709674c93f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-08 03:48:46 +00:00
Jerry Wong
bd701ebc51
audio: Add AUDIO_FORMAT_DEFAULT to supported formats (V6) am: 50bf1116fc
am: 12b2c93b10
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2989191
Change-Id: I629120865fbc3140771352f38b033ddb84bd9d3c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-08 03:24:09 +00:00
Jerry Wong
12b2c93b10
audio: Add AUDIO_FORMAT_DEFAULT to supported formats (V6) am: 50bf1116fc
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2989191
Change-Id: Ifa60f56a93ed09f1a546989cd8231cb0df97ad4a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-08 02:39:48 +00:00
Shunkai Yao
7a0eb7b7a7
Effect AIDL: remove placeholder effect from default implementation
...
Bug: 328330990
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: Icf15e349a2ad36eeefa1e3eb46428c04ae164ad1
2024-03-07 21:37:02 +00:00
Shunkai Yao
530235c8dc
Revert "Effect AIDL: remove placeholder effect from default implementation"
...
This reverts commit d0a6d52d6e
.
Reason for revert: b/328548875
Change-Id: I240831d8c417ea95e42ab5faa592a57ed97d475c
2024-03-07 20:25:13 +00:00
Xin Li
c4b2f5b564
Merge "Merge Android 14 QPR2 to AOSP main" into main
2024-03-07 06:41:02 +00:00
Mikhail Naganov
b06a492bd9
audio: Preserve 'usecase' for in IModule::setAudioPortConfig
...
The field AudioPortConfig.ext.mix.usecase is provided by
the client, thus is needs to be treated the same way as
'.handle'.
Bug: 302736184
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I45050e8530cd236f5e582585f583df477fc7ae8a
2024-03-06 16:39:50 -08:00
Shunkai Yao
124bdd282f
Merge "Effect AIDL: remove placeholder effect from default implementation" into main
2024-03-06 21:43:30 +00:00
Shunkai Yao
d0a6d52d6e
Effect AIDL: remove placeholder effect from default implementation
...
Also add two missing test class to postsubmit
Bug: 328330990
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:postsubmit
Change-Id: I9f9b9feda9ca99e6a065e837fa77dc621ad35bb1
2024-03-06 18:48:52 +00:00
Mikhail Naganov
55e0afa49a
audio: Fix glitching of remote submix
...
Align behavior with the HIDL implementation. This helps
to prevent glitches in the scenarios that use remote
submix for sending audio externally: Auto and Cast.
Bug: 322247032
Bug: 327220024
Test: Repro steps in b/327220024#comment14
Change-Id: If2e4ebd7145375a268ee5f0e4ab656bb3748b2fe
Merged-In: If2e4ebd7145375a268ee5f0e4ab656bb3748b2fe
2024-03-06 10:09:16 -08:00
Mikhail Naganov
4120b99ab6
audio: Align HAL buffer size logic with the framework
...
When the framework uses mixers, it rounds up the buffer
size to the frame count which is a multiple of 16.
In the HIDL implementation, this adjustment was done after
the framework thread was already created, and FMQ was
created on the first transfer, using adjusted size. In
the AIDL implementation, the FMQ is created together with
the stream, using the size suggested by the HAL.
Bug: 321233946
Test: verify audio playback over S/W A2DP
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f2f9ae08c2ee4e396bbe4b8c7e955bad725ce545 )
Merged-In: I35a5479bfc87a290aff09d51415381948857a146
Change-Id: I35a5479bfc87a290aff09d51415381948857a146
2024-03-06 10:09:00 -08:00
Mikhail Naganov
46c433aabd
audio: Set correct priority for the SPATIALIZER stream thread
...
To align with the framework, the thread serving SPATIALIZER
stream I/O must use SCHED_FIFO and realtime priority.
The latter can be set via `audio.spatializer.priority`
property.
Bug: 321233946
Test: adb shell ps -Tl -p <HAL PID>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:81a14293f4f26bf3af740cc1682c1111d7e1e29d )
Merged-In: I80107c9aa7d86cbfc2f79c2ad05959fc9f7913f7
Change-Id: I80107c9aa7d86cbfc2f79c2ad05959fc9f7913f7
2024-03-06 10:08:50 -08:00
Myles Watson
5f03254e65
Merge "Revert^4 "Install bluetooth audio VINTF fragment in apex"" into main
2024-03-06 13:21:08 +00:00
Myles Watson
530248a928
Merge "Revert^3 "Install bluetooth audio VINTF fragment in apex"" into main am: 285f0a8d36
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2989176
Change-Id: I0d6ef15f4b078b5e3a1cfe8db4ea633386089f79
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-06 00:36:12 +00:00
Shunkai Yao
1ce6b9ea39
Merge "Visualizer: make the range align with VISUALIZER_CAPTURE_SIZE_*" into main am: 555f439645
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2984320
Change-Id: Ia98ae9f2ef0f21c284623ac2adf8e2c9b84c2c9d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-06 00:35:26 +00:00
Jerry Wong
50bf1116fc
audio: Add AUDIO_FORMAT_DEFAULT to supported formats (V6)
...
Bug: 309625094
Test: atest VtsHalAudioV6_0TargetTest
Change-Id: I1f79d33fc05630392587d9a4fb2a3a20a98d6d14
2024-03-05 14:48:57 -08:00
Myles Watson
ddf9a00823
Revert^4 "Install bluetooth audio VINTF fragment in apex"
...
886bfbed7a
Change-Id: I963bf18d58152fef685fefb2413d2eb7116a3cdb
2024-03-05 22:06:38 +00:00
Myles Watson
285f0a8d36
Merge "Revert^3 "Install bluetooth audio VINTF fragment in apex"" into main
2024-03-05 21:05:50 +00:00
Myles Watson
886bfbed7a
Revert^3 "Install bluetooth audio VINTF fragment in apex"
...
bc0ff1c206
Bug: b/328267880
Change-Id: I1eae6180cd494d70dcf42103c98832442a089725
2024-03-05 19:46:29 +00:00
Shunkai Yao
555f439645
Merge "Visualizer: make the range align with VISUALIZER_CAPTURE_SIZE_*" into main
2024-03-05 17:05:31 +00:00
Treehugger Robot
75aed17303
Merge "Effect Aidl: make EffectFactoryHelper methods static only" into main am: 337c6afb98
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2987144
Change-Id: I89f99dba9530216dd8fe6571eed6a3e290461d7b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-05 04:49:30 +00:00
Treehugger Robot
337c6afb98
Merge "Effect Aidl: make EffectFactoryHelper methods static only" into main
2024-03-05 03:59:06 +00:00
Treehugger Robot
48fc7fb9ac
Merge "Effect Aidl: skipping reopen test for unsupported audio hal" into main am: 4b133e633e
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2987138
Change-Id: I5cf1d9fa2b390d7561e541b4fff148832b7bc689
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-05 03:18:43 +00:00
Treehugger Robot
4b133e633e
Merge "Effect Aidl: skipping reopen test for unsupported audio hal" into main
2024-03-05 02:57:45 +00:00
Jooyung Han
189a837b6d
Revert^2 "Install bluetooth audio VINTF fragment in apex" am: bc0ff1c206
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2955647
Change-Id: Id61c0d4324e535fab38977183eb4aa6b3e3f216d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-05 02:33:56 +00:00
Shunkai Yao
8a4e9b739f
Effect Aidl: make EffectFactoryHelper methods static only
...
Bug: 327678656
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: I57d924d19f38257e32dba95d4de0ca00532c5ab4
2024-03-04 23:28:30 +00:00
Shunkai Yao
9f9fe92911
Effect Aidl: skipping reopen test for unsupported audio hal
...
Bug: 327678656
Bug: 328009824
Test: atest VtsHalAudioEffectTargetTest
Change-Id: I25a27c780253f84f771148b5c30be57f35dbf39c
2024-03-04 23:01:36 +00:00
Shunkai Yao
1332677998
Visualizer: make the range align with VISUALIZER_CAPTURE_SIZE_*
...
Bug: 317742497
Test: atest android.media.audio.cts.VisualizerTest
Test: atest VtsHalAudioEffectTargetTest
Change-Id: I5b89c9cead9906966b00fcb2fdb16905ed97b263
Merged-In: I5b89c9cead9906966b00fcb2fdb16905ed97b263
2024-02-29 18:46:00 +00:00
Jooyung Han
bc0ff1c206
Revert^2 "Install bluetooth audio VINTF fragment in apex"
...
e9f8c8c4f5
Change-Id: Ice6a2a50b966d30db2e375e8bad2b58dad3c5018
2024-02-29 13:05:43 +09:00
Shunkai Yao
7932707660
Spatializer: return supportedChannelLayout as part of parameter am: 759c9cb28b
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2977815
Change-Id: Iba2078f7781bbe1b54771c955ca927cd57fdc6b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-27 03:04:03 +00:00
Shunkai Yao
759c9cb28b
Spatializer: return supportedChannelLayout as part of parameter
...
Bug: 307368176
Test: atest EffectsFactoryHalInterfaceTest
Change-Id: I1a2a445b5c94cbd02acb4160c7f54d6733bff6aa
2024-02-26 21:49:09 +00:00
Mikhail Naganov
ca403bcd92
Merge "audio: Remove audio effects config from audio HAL VAPEX" into main am: e00f10e0a5
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2972254
Change-Id: Ib37f3502b2779ddebf8e0deb17b71d6cf3ef3152
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-23 19:03:21 +00:00
Mikhail Naganov
e00f10e0a5
Merge "audio: Remove audio effects config from audio HAL VAPEX" into main
2024-02-23 18:18:39 +00:00
Mikhail Naganov
9970dadaa9
Merge "Volume Control: Add tests to validate Volume Control Effect" into main am: 4fbb997e17
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2968207
Change-Id: I9fe1b948ec1f168816258c443b0fc3a5c11e6d35
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-22 02:50:03 +00:00
Mikhail Naganov
4fbb997e17
Merge "Volume Control: Add tests to validate Volume Control Effect" into main
2024-02-22 02:17:54 +00:00
Mikhail Naganov
07bbadb3e3
audio: Remove audio effects config from audio HAL VAPEX
...
The audio effects HAL config can vary between different
CF "flavors" and thus must not belong to VAPEX. This is
consistent with handling of audio policy configuration files.
Bug: 318423731
Test: run `atest audioeffect_tests` on cf_x86_64_auto-trunk_staging-userdebug
Change-Id: I0f4ee9a44a3426934f6a055fc8c9ce74a8db78fc
2024-02-21 16:28:35 -08:00
Sneha Patil
93e4eb5487
Volume Control: Add tests to validate Volume Control Effect
...
Added test to apply level, mute and unmute input.
Added test to verify decreasing volume levels.
Bug: 305866207
Test: atest VtsHalVolumeTargetTest
Change-Id: Ie105a3bb77255da61719d042cbd5abc23c405d93
2024-02-21 18:11:29 +05:30
Shunkai Yao
8fcfd41a72
Merge "Effect AIDL: add Spatializer default implementation to Cuttlefish" into main am: ac270bcbe2
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2959644
Change-Id: Idfc6d94b03fd276eef06eae790f45918ea30048e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-13 17:49:58 +00:00
Shunkai Yao
c7f5c2dd83
Effect AIDL: add Spatializer default implementation to Cuttlefish
...
Bug: 273373363
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: Ib49d62c61de831c8147c935799d22be78950488f
2024-02-13 02:11:12 +00:00
Treehugger Robot
74dc4cc5d7
Merge "[DON'T BLOCK] Test ownership migration rules" into main am: 27e97308c4
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2950589
Change-Id: Ie4f36b193820490e606e7f5100ca29200f832fa2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-07 01:45:21 +00:00
Treehugger Robot
27e97308c4
Merge "[DON'T BLOCK] Test ownership migration rules" into main
2024-02-07 00:55:34 +00:00
Shunkai Yao
35f4bb6089
Merge "Add backward compatibility in effect hal default implementation" into main am: 3ed9b6bbce
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2951489
Change-Id: If5d00b8810e95e0a870fe455951572d687da33cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-06 18:58:18 +00:00
Jooyung Han
6b6d0ef23c
Merge "Revert "Install bluetooth audio VINTF fragment in apex"" into main am: c5c0b5eb6a
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2951227
Change-Id: Ia075e0a1eecf75781f243947a53536eb2a688e19
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-06 06:40:20 +00:00
Ke-Yu Lu
e9f8c8c4f5
Revert "Install bluetooth audio VINTF fragment in apex"
...
Revert submission 2949647-bt-audio-vintf
Reason for revert: b/323989115
Reverted changes: /q/submissionid:2949647-bt-audio-vintf
Change-Id: Ie335aa9a0ad2bb847cabe6f85ef37352e9065e3a
2024-02-06 04:04:01 +00:00
Jooyung Han
e5596af7e1
Merge "Install bluetooth audio VINTF fragment in apex" into main am: 0cacd8c7f5
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2949685
Change-Id: I043fbc9d39e21537b05e66d31d962addaaf8eb02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-06 01:20:20 +00:00
Shunkai Yao
7e2c3719ff
Add backward compatibility in effect hal default implementation
...
Skipping the reopen sequence for unsupported version
Add member initialize for EffectContext
Bug: 322780092
Test: latest libAudioHal with V1 effect HAL
Test: atest VtsHalAudioEffectTargetTest
Change-Id: I597194e5ebf25566d5adda533e151da2e99781f4
2024-02-05 22:58:54 +00:00
Aditya Choudhary
ad2ba1b851
[DON'T BLOCK] Test ownership migration rules
...
This CL is created as a best effort to migrate test targets
to the new android ownership model. If you find incorrect or unnecessary
attribution in this CL, please create a separate CL to fix that.
For more details please refer to the link below,
go/new-android-ownership-model
Bug: 304529413
Test: N/A
Change-Id: Ic8c4bd6ac246e7efa98bbdaf822d12ae8e1230a5
2024-02-05 15:45:22 +00:00