Age | Commit message (Collapse) | Author |
|
Added display info to emulator audio_polic_configuration.xml.
This enables multizone audio support for display in emulator.
Bug: 134104943
Test: Tested using emulator and kitchensink app.
Change-Id: I89f219ab4ec9be0892f86078c6d6d7815c4e144f
|
|
bug: 133807382
Test: lunch gcar && m && emulator
lunch aosp && m && emulator
Change-Id: I7ca8100519733c3df0c1d55f4e86001f692e14e2
|
|
|
|
Adding BT support to car emulator using services.sim to mock Bluetooth
Bug: 132627197
Test: Built and ran emulator locally to verify
Change-Id: Ibaf29461f27d3e535550d6f4d800038bb6846a8e
|
|
Bug: 129781689
Bug: 131864200
Bug: 129290324
Test: flash, boot, grep logcat for 'broadcastradio'
Change-Id: Ibab6ea2155ea73f80a29f6e851137dfafa50d27f
|
|
The car_audio_configuration format has be updated to expect port=#
rather than name=string for display tags. As they are not currently used
on the emulator, we are simply removing them to enable things to boot
again.
Test: make -j and ran emulator to confirm it lauches
Bug: 132626851
Change-Id: Ia569776aae98d91188ccf5f6cb528755713f92f8
|
|
|
|
- rear seat buses (with "rear" in its address) uses right channel
- left channel otherwise
This behavior is enabled only if ro.aae.simulateMultiZoneAudio property
is turned on. To switch the behavior back and forth during runtime, one
has to restart the audioserver as well as car service after changing the
value via `adb shell setprop <key> <value>`. The most convenient way
would be to enable this flag at boot time as following
```
emulator -prop ro.aae.simulateMultiZoneAudio=true
```
Bug: 120299880
Test: manually on gcar_emu_x86-userdebug emulator
Change-Id: I61e542ca621f922dfafe7c5979bd4d13ab2fc57a
|
|
Sample usage
```
final AudioAttributes attributes = new AudioAttributes.Builder()
.setUsage(AudioAttributes.USAGE_MEDIA)
.setInternalCapturePreset(MediaRecorder.AudioSource.ECHO_REFERENCE)
.build();
final AudioRecord record = new AudioRecord.Builder()
.setAudioAttributes(attributes)
.build();
```
Bug: 129882605
Test: dumpsys media.audio_policy
Change-Id: I72a850aa787599a8f7579cf77899e9b8034f10f0
|
|
Also exposes the FM tuner as an audio input device in emulator.
Bug: 118763832
Test: Launch Radio app (with startAudioSource) in emulator
Change-Id: I75732a68382f8453bc858da8de2de32417c63d98
|
|
Test: adb shell dumpsys car_service | grep -A72 CarAudioService
Bug: 120299880
Bug: 121273516
Change-Id: I1c95b9c95a2c16b55cce90733e54a47076d6198e
|
|
The system default policy configurations are placed in vendor/etc. Copy
our overrides to the same location.
Bumps also the broadcast radio HAL to 2.0
Bug: 111203470
Test: adb shell dumpsys activity service com.android.car/.CarService
Change-Id: Id5ef7b3c2a4dbeed70b7a38aa5b6236cff4006d4
|
|
Also, uses broadcast radio to better demonstrate audio patch as an
end-to-end case. We can further surface pseudo broadcast radio audio
stream.
Bug: 110166790
Test: launch radio app in gcar_emu_x86-userdebug
Change-Id: I3871e7ef5408a7ae15ea35c80176dc0d00dae200
|
|
Bug: 80474559
Test: adb shell input keyevent 164
Change-Id: I75710257050d97ee1e6d637ee6fef0efecb9e39f
|
|
|
|
Bug: 79696410
Test: audio recording on car emulator
Change-Id: I51b4ebef2dd2c074b360307a99bc498eee9eb1ea
|
|
from (-84dB, 40dB) to (-32dB, 6dB), 38 steps in total
Bug: 79586064
Test: Play music on emulator and adjust volume
Change-Id: Iaba45c481961478645ef090987faa1d1e537f203
|
|
Bug: 79496296
Test: Play music + navigation in KitchenSink, gcar_emu_x86-userdebug
Change-Id: I335183e2428e655d1cd81141d49326b457669383
|
|
Change log
- audio_vbuffer in its own source and header files
- a pcm is shared via ext_pcm by multiple audio streams
Known issue
- Audio is distorted if multiple audio streams try to play
simultaneously. This is due to lack of proper audio mixing and will be
fixed in a future CL
Bug: 79496296
Test: manually
Change-Id: I14392e13ae49131a044efdda97ea23946287ad97
|
|
Bug: 78604377
Test: manually
Change-Id: I61cddb081ab38c1c97cb2ee6646cb2768b48e626
|
|
audio_hw.c is formatted via clang-format and more debug information for
audio patch is added
Bug: 77147937
Test: releaseAudioPatch(createAudioPatch(String, int, int))
Change-Id: I5cb02557cc5df31a3d33337905601630c5bd525e
|
|
- Grouped all emulator related work in emulator folder
- Moved also the default hal implementation here
- Deprecated the Android.mk in favor of Android.bp
Bug: 68940567
Test: lunch gcar_emu_x86-userdebug && m -j
Change-Id: I284d8b60301fcb9c7c65aed3c8a08e7e6c0ac0f2
|