| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Have the goldfish device support WIRED_HEADPHONE and WIRED_HEADSET in
addition to SPEAKER.
Support more audio sample rates.
Set 'useDevInputEventForAudioJack' so we respond to settings from the
emulator.
BUG: http://b/32437768
Test: Required for and covered by CTS Verifier
(cherry picked from commit e5d00ff412de76d1d0146d0aa7fc6243f6d98ffa)
Change-Id: Ic35c38d7169a02bedf19b148703ff4993d1037b4
|
|
|
|
|
|
|
|
| |
Audio input was distorted at the small buffer size.
Test: Record audio and playback
Change-Id: Iff92957a4452aea69238cc2cdb39c7e8a95fc799
(cherry picked from commit 037f564660877780b64151e0bbd05ce6735d5985)
|
|
|
|
|
|
|
|
| |
Channel mask verification bug caused wrong channel count to be
selected.
Test: Run CtsMedia module
Change-Id: I2275511a136bfc61bdf57a09ae800a37b145e948
|
|
|
|
|
|
|
|
|
|
| |
Reduce input stream buffer size to accommodate tests
Set output stream buffer size in terms of ms to match input buffer
Test: CtsMediaTestCases android.media.cts.AudioRecordTest#testTimestamp
Bug: 31648354
Change-Id: Ifba7773cf48bfe985be955e0911b15dc85ec9b54
(cherry picked from commit 6b8a4352230ca15aa859d532f0d5eb967ad02985)
|
|
|
|
|
|
| |
Test: Run CtsMedia module
Change-Id: I8947f8a84047101748df93b12d2b20651225b83a
(cherry picked from commit a7444150fec00213b73c69a59c0472f6217d7e48)
|
|
|
|
|
|
|
| |
Test: Run CtsMedia module and look for audioflinger crashes
Bug: 31648354
Change-Id: Ia7594bca0fbb495f83e9dd4ace170c9cdf87df52
(cherry picked from commit a3381f3117bfc112d50e278c38a8b97562a621c6)
|
|
|
|
|
|
|
|
|
|
| |
On every standby, some audio frames were being dropped causing the
presentation frame count to slowly drift from the written frames.
Test: Run CtsMedia module repeatedly
Bug: 31648354
Change-Id: I1075ffaad4e1baec7fdc7ebdcc9391fbb6945d28
(cherry picked from commit 818cfde6a65e7a212486092dbbcbb6f0b8de8cce)
|
|
|
|
|
|
|
|
|
|
|
| |
Offload pcm read/write to worker threads as these accesses sometimes get
blocked by the host for longer than 30 ms. Whenever there is a lack of
data during recording or buffer space for playback, the audio data and
time duration is faked to simulate a smooth audio device.
Test: Run CtsMedia module
Bug:31648354
Change-Id: I323fdfcb8b273ac606021c10315a7a9f1d4027a6
|
|
|
|
|
|
|
| |
This fixes the audio device being muted by default.
Test: Boot emulator and check audio is not muted
Change-Id: Ied6b02910dcb23fdebd3b8a1e3f8ec23d2d78ff1
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cts tests require keeping track of audio presentation position at
various playback rates.
Added playback rates to match required 6.0 CDD document.
Added get_presentation_position which simulates a playback rate.
Test: Run CtsMedia module
Bug: 31648354
Change-Id: I688c9db784a5ebbd9a790df38f5d07ca7ac24572
|
|
|
|
|
|
|
|
|
| |
CTS tests failing caused by being unable to create audio patches caused
by audio device not returning success status when setting parameters
Test: Run CtsMedia module
Bug:31648354
Change-Id: I40acf834afc694faa7514dc9b1f83bffc0f118ee
|
|
|
|
|
|
| |
Test: Listen to audio
Change-Id: Ic16dbb56c6fdd320126db08580eb24b18316f3dc
(cherry picked from commit ed9c5643996f2973d9aad5f9fc371d51fb3d4188)
|
|
|
|
|
|
|
|
|
| |
Previous values were causing many test failures due to increased audio latency
and incorrect buffer sizing.
Test: Run cts audio playback tests
Change-Id: If68449bbbca0ef219b44401192fa5d22a6c45413
(cherry picked from commit 0cc9aef3408231a7d5cec47879f2fe65102d9441)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a basic implementation of a tinyhal audio hal.
It reduces the restrictions on audio input to rates/formats described by 6.0 CDD.
It keeps legacy audio output restrictions: 44.1khz, stereo, 16 bit.
Fallback to legacy audio device when alsa device not detected.
Test: Boot emulator and test audio with kernel supporting both alsa and
legacy audio device
Change-Id: Ia2c92fc5f4858dcd007159d14c76b81d18a7b605
(cherry picked from commit b002dd7726d2003d3294e026d61af90dc30f8efb)
|
|
|
|
|
|
|
|
| |
Moving to _legacy to use as fallback.
Test: Boot emulator kernel built with old goldfish_audio device
Change-Id: Ia2519589a3c6baf28a8b84eb4a8c6bcfe4a59d08
(cherry picked from commit 7c87461bf6f9dc1c211c33d241a0117c690ff5df)
|
|
|
|
|
|
|
|
| |
Pass device address (and audio source for inputs) to
open_output_stream() and open_input_stream() audio HAL functions.
Bug: 14815883.
Change-Id: I35932bd5c54d9da2e495d8edc54c044e7fc7c2a2
|
|
|
|
| |
Change-Id: I14a437e0a93f26002c27aca17e11a771478ea84b
|
|
|
|
| |
Change-Id: I343bc4f81eb08b8cc29b02c94632f03b435abe0c
|
|
|
|
|
| |
Bug: 11156955
Change-Id: Ice06dcd5e1a1b6c682a5c5f4dbec5ac6a4837f84
|
|
|
|
|
|
|
| |
LOCAL_MODULE_PATH doesn't work for multiarch builds, replace it
with LOCAL_MODULE_RELATIVE_PATH.
Change-Id: I4e4ceec61d026bbe74ba604554c06104bde42e5e
|
|
|
|
|
| |
Bug: 8580410
Change-Id: I2c07b8ce85aff341575ee8c3f509f64e252b8ed4
|
|
|
|
| |
Change-Id: Iab96f1cdae507976fff6073ac2c1905d8381e62f
|
|
|
|
|
|
| |
Also remove include AudioRecord.h
Change-Id: I7f8cc22fe199a4a51279c508974c03bf1173f001
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/#/c/157220
Bug: 5449033
Change-Id: If872bb8ca6774d4e27eaa7f6f92405fb4737125e
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/#/c/143865
Bug: 5449033
Change-Id: I8bed42053c6ec23943e1ea3546167f422671fc0f
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Bug: 5010576
Change-Id: Iaacba217266598d499a8d2027dd1dab29dde82ba
|
|/
|
|
| |
Change-Id: Ie69bb2151155dd5aa4072c28fed60a0096a08fe5
|
|
Change-Id: I7096af32ae11b955e4127864ad2768eca8c424ff
Signed-off-by: Dima Zavin <dima@android.com>
|