0f5a8f244970e691d2bbbf23c3df22a5ecde26aa |
|
21-Dec-2016 |
Joshua Lang <joshualang@google.com> |
Increase audio input buffer sizes Audio input was distorted at the small buffer size. Test: Record audio and playback Change-Id: Iff92957a4452aea69238cc2cdb39c7e8a95fc799 (cherry picked from commit 037f564660877780b64151e0bbd05ce6735d5985)
/device/generic/goldfish/audio/audio_hw.c
|
3eb39a76c87053408fdc0cbf151b1cfb5e73099e |
|
21-Dec-2016 |
Joshua Lang <joshualang@google.com> |
Fix audio input channel verification Channel mask verification bug caused wrong channel count to be selected. Test: Run CtsMedia module Change-Id: I2275511a136bfc61bdf57a09ae800a37b145e948
/device/generic/goldfish/audio/audio_hw.c
|
19297e0f2bbc7043f25b428599d4f50d7416f20a |
|
17-Nov-2016 |
Joshua Lang <joshualang@google.com> |
Reduce audio buffer sizes 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)
/device/generic/goldfish/audio/audio_hw.c
|
755c647fb270aa8dcf3392770667494e4a25d954 |
|
15-Nov-2016 |
Joshua Lang <joshualang@google.com> |
Rearrange audio locking on standby Test: Run CtsMedia module Change-Id: I8947f8a84047101748df93b12d2b20651225b83a (cherry picked from commit a7444150fec00213b73c69a59c0472f6217d7e48)
/device/generic/goldfish/audio/audio_hw.c
|
6e46d4cfc02124801f3f7e6a16728d0a18760f1d |
|
15-Nov-2016 |
Joshua Lang <joshualang@google.com> |
Fix audio mem corruption on stereo-mono conversion Test: Run CtsMedia module and look for audioflinger crashes Bug: 31648354 Change-Id: Ia7594bca0fbb495f83e9dd4ace170c9cdf87df52 (cherry picked from commit a3381f3117bfc112d50e278c38a8b97562a621c6)
/device/generic/goldfish/audio/audio_hw.c
|
7e000adbfa8f40ae04ea3b8c1dc1f94bb7b00865 |
|
06-Nov-2016 |
Joshua Lang <joshualang@google.com> |
Fix for dropped output audio frames 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)
/device/generic/goldfish/audio/audio_hw.c
|
f99063d04949ca8cda9ab965787e27ae59ac4aac |
|
06-Oct-2016 |
Joshua Lang <joshualang@google.com> |
Offload goldfish audio device read/writes 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
/device/generic/goldfish/audio/audio_hw.c
|
e72995d4ac7fe80fb608599ceb35ecb13367f903 |
|
02-Nov-2016 |
Joshua Lang <joshualang@google.com> |
Enable audio channels and set default volume This fixes the audio device being muted by default. Test: Boot emulator and check audio is not muted Change-Id: Ied6b02910dcb23fdebd3b8a1e3f8ec23d2d78ff1
/device/generic/goldfish/audio/audio_hw.c
|
2b7bbd49ed8ad21750b42a77e53fce2fa70da7ec |
|
30-Sep-2016 |
Joshua Lang <joshualang@google.com> |
Adding get_presentation_position to gf audio 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
/device/generic/goldfish/audio/audio_hw.c
|
12f0d0df3698bd2fa95ab93a6b948a4010f8ddbf |
|
27-Sep-2016 |
Joshua Lang <joshualang@google.com> |
Fix gf audio to return success when setting params 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
/device/generic/goldfish/audio/audio_hw.c
|
9fd7c0ff9890df8774d1e8cfe2bfc59298a49896 |
|
03-Aug-2016 |
Joshua Lang <joshualang@google.com> |
Reduce period size to improve audio stuttering Test: Listen to audio Change-Id: Ic16dbb56c6fdd320126db08580eb24b18316f3dc (cherry picked from commit ed9c5643996f2973d9aad5f9fc371d51fb3d4188)
/device/generic/goldfish/audio/audio_hw.c
|
89f75f5fd4c9aaf9a740dbee1d732facd895c7c2 |
|
02-Aug-2016 |
Joshua Lang <joshualang@google.com> |
Fix audio output period size and buffer size 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)
/device/generic/goldfish/audio/audio_hw.c
|
ca5fb154da4c31dc338aec31e47243d158f30284 |
|
23-Jul-2016 |
Joshua Lang <joshualang@google.com> |
Add tinyalsa goldfish audio device 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)
/device/generic/goldfish/audio/audio_hw.c
|
3ceee022210e370357ebebee4e5973b893310c65 |
|
23-Jul-2016 |
Joshua Lang <joshualang@google.com> |
Deprecating old golfish_audio HAL 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)
/device/generic/goldfish/audio/audio_hw.c
|
2e6a15f7a40895681412356e9c7f5740cfad9d55 |
|
28-Jul-2014 |
Eric Laurent <elaurent@google.com> |
audio HAL: add parameters to open stream functions Pass device address (and audio source for inputs) to open_output_stream() and open_input_stream() audio HAL functions. Bug: 14815883. Change-Id: I35932bd5c54d9da2e495d8edc54c044e7fc7c2a2
/device/generic/goldfish/audio/audio_hw.c
|
ed9ee2f09d67b15fe0479d2519341c457590433e |
|
15-Jul-2014 |
Glenn Kasten <gkasten@google.com> |
Add audio_input_flags_t to HAL open_input_stream Change-Id: I14a437e0a93f26002c27aca17e11a771478ea84b
/device/generic/goldfish/audio/audio_hw.c
|
0228f8a1cdf5b2391201333de73fabab6d2ca72f |
|
22-May-2014 |
Elliott Hughes <enh@google.com> |
Move goldfish from fdprintf to POSIX dprintf. Bug: 11156955 Change-Id: Ice06dcd5e1a1b6c682a5c5f4dbec5ac6a4837f84
/device/generic/goldfish/audio/audio_hw.c
|
1f644ac4740087238dfa5a7e48630f6356018ae9 |
|
25-Aug-2012 |
Eric Laurent <elaurent@google.com> |
audio: get rid of legacy audio HAL. Change-Id: Iab96f1cdae507976fff6073ac2c1905d8381e62f
/device/generic/goldfish/audio/audio_hw.c
|