cd10e0c670b1fd93d4831c828e4d783056a29d6d |
|
15-Dec-2015 |
Alex Luebs <aluebs@google.com> |
Add pre-processing support to dragon hal and enable multi-mic noise suppression Change-Id: I31753f336ff293f966a6b61fd51acb1e4379950d
/device/google/dragon/audio/hal/audio_hw.h
|
d6feed07fd2d81821881ed889197a516cb0d8db2 |
|
06-Jan-2016 |
Anatol Pomazau <anatol@google.com> |
Enable 4-channel input This requires adding channel remap functionality to input/output streams. Number of channels provided by hardware might be different from what framework expects. For example in case of Pixel C there is I2S bus to rt5677 codec shared by both capture and playback. If we want to record 4-channel input from mics and playback stereo at the same time then HW format has to be 4-channel (I2S cannot have different formats for capture/playback). In such case we need to adjust number of audio channels. Change-Id: I6917423379999bb98841db9e42373136c747a82a
/device/google/dragon/audio/hal/audio_hw.h
|
8a0e72d4546306afe12128bbcadd0f4402707122 |
|
06-Jan-2016 |
Stephen Barber <smbarber@google.com> |
Revert "Enable 4-channel input" This reverts commit ccb51d0ce196e4fce17608a1e919c1970b4fd909. Change-Id: I7a57bb120d32118713cad48fe3a626f857de4796
/device/google/dragon/audio/hal/audio_hw.h
|
ccb51d0ce196e4fce17608a1e919c1970b4fd909 |
|
14-Dec-2015 |
Anatol Pomazau <anatol@google.com> |
Enable 4-channel input Smaug has 4 microphones. Enable 4-channel input that will be processed to 2-channel by a noise-suppression module. Kernel ALSA does not like when when open codec (in case of Smaug rt5677) both for input and output with different format (2-channel TDM vs 4-channel TDM). It confuses ALSA and it gets dropping half of all frames. To avoid that we open output with 4-channel format as well and scatter data 2->4 channel somewhat reverse what we do at the input. Change-Id: I41205f1231b721aed0ad35ecb7eb895955cd5ef9
/device/google/dragon/audio/hal/audio_hw.h
|
59281a59208da60a6667b00cb4a100eedcf52c1c |
|
19-Jun-2015 |
Eric Laurent <elaurent@google.com> |
audio HAL: fix thread starvation Fix thread starvation issue where the capture or playback threads running in FIFO priority would constantly acquire the stream mutex preventing other threads to complete routing commands. Bug: 21880828. Change-Id: I36e9c609857dd1bc959809326350a04c3af92228
/device/google/dragon/audio/hal/audio_hw.h
|
224c8ee60a1d0098102a69ba44758f9fc1fa8f0e |
|
01-Sep-2015 |
Dylan Reid <dgreid@chromium.org> |
audio hal: add sound trigger Add a sound trigger library, this is used to support "OK Google" when the device is asleep or running an app. This is based on the Volantis code, modified to work with the hotword trigger code that will be posted upstream. BUG=b:24334115 Change-Id: Ie657b933f499d5a72de2ed6beaa9549fcca57370
/device/google/dragon/audio/hal/audio_hw.h
|
f3f2689c74b16ee1e23217936742ee03bc2771d6 |
|
09-Nov-2015 |
Anatol Pomazau <anatol@google.com> |
Make capture buffer the same size as input buffer Apps expect that input/output buffers are equal in size and it is part of documented behavior for OpenSL ES on Android. In the future we want to decrease both buffers to lower value. But for now let's increase the capture one. Bug: 25432061 Test: playback/capture works Change-Id: Ibb2e5d926a8582bfb3c453fd320afdad6b3e127d
/device/google/dragon/audio/hal/audio_hw.h
|
ba97b280e6a5bd59e6662902bcddaea127848f2e |
|
21-Oct-2015 |
Anatol Pomazau <anatol@google.com> |
Rename profile field "id"->"device" to reflect its meaning Change-Id: I5568bfc5c8558b8ce495019af19802fe89a198e5
/device/google/dragon/audio/hal/audio_hw.h
|
a71e2e4bdc43229cda8ff4cc5b34799d03486ec4 |
|
24-Sep-2015 |
Dylan Reid <dgreid@chromium.org> |
audio hal: Decrease playback buffer size. Cutting the playback buffer from 1024 to 512 enables fast mixer but still provides extra underrun protection compared to 128. BUG=44535 TEST=dumpsys media.audio_flinger while playing pandora, check buffer size. Change-Id: Ia804970a2d3cd6952e8a6fefbf7da6eedebf00a6 Signed-off-by: Dylan Reid <dgreid@google.com>
/device/google/dragon/audio/hal/audio_hw.h
|
83e65982a1c98ec8261bca011ea1873516720a2e |
|
16-Sep-2015 |
Dylan Reid <dgreid@chromium.org> |
HACK: audio hal: Increase buffer sizes Until the system scheduling latency is under control, increase the output buffer sizes to avoid under runs. Change-Id: I3c66b2bf0a993baa0ee6624e8b2228864ec691f5 Signed-off-by: Dylan Reid <dgreid@google.com>
/device/google/dragon/audio/hal/audio_hw.h
|
ee7bfd2b65e8629e9ae2468517945152101056d5 |
|
31-Jul-2015 |
Dylan Reid <dgreid@chromium.org> |
audio hal: use dsp for speaker if available If there exists a /speakerdsp.ini file, load it and process output samples accordingly. Change-Id: I7b26b8a6c56a94acf06f20e484dce01f511bc344
/device/google/dragon/audio/hal/audio_hw.h
|
f0379836d114dd35962c576eedba42cb0eeda94d |
|
26-Mar-2015 |
David Riley <davidriley@google.com> |
dragon: Initial device files Contains commits a2bd4c1c48a1de5d8049202ccb94e5e2470866ad..96f4ab113d43e91a2f0a375bea5fa1436feb086c from lmp-mr1-dragon-dev * 96f4ab1 Merge "dragon: enable vboot signer for boot image" into lmp-mr1-dragon-dev |\ | * 115b21c dragon: enable vboot signer for boot image * | 3d23c0e Merge "Revert "dragon: bt: Disable BTLE MAC randomization"" into lmp-mr1-dragon-dev |\ \ | * | cb85694 Revert "dragon: bt: Disable BTLE MAC randomization" | |/ * | 14764ae Enable GPU dvfs |/ * fd83baf dragon: bt: Disable BTLE MAC randomization * 8f1f7c7 dragon: Use 0.bt_bcm4354 device node for BT * 3e9088b Merge "dragon: Add media_codecs*.xml to /system/etc" into lmp-mr1-dragon-dev |\ | * 6e756f0 dragon: Add media_codecs*.xml to /system/etc * | 25de22c dragon: bt: Adjust BT device node |/ * 0cc692c Merge "dragon: set ro.radio.noril to true" into lmp-mr1-dragon-dev |\ | * ea29113 dragon: set ro.radio.noril to true * | 56dfd4d Dragon: Add backlight support |/ * d9cf9bb Merge "Initial Dragon power hal" into lmp-mr1-dragon-dev |\ | * ecc24b0 Initial Dragon power hal * | 5f58ef4 dragon: Allow BT stack access to BT controls * | bb79b84 dragon: Prevent suspend * | f6a4882 dragon: Add BT library configuration |/ * 7382ce0 init.dragon.usb.rc: Init changes to enable device pull up * 2014a45 Revert "dragon: Stub out audio for now" * 732268e dragon: add nvidia vendor packages * 4f0f763 dragon: switch board platform to tegra132_dragon * cf72378 Force GPU frequency to 684MHz * 56807de Selinux: label partitions * 276f85f Fix navigation bar not showing * cd13732 Allow SurfaceFlinger access to /dev/sw_sync * 50fec54 dragon: Stub out audio for now * 679a34f dragon: add gralloc.drm package * 7347ee0 dragon: remove volantis nvidia vendor dependencies * 14a8df9 dragon: enable NV graphics * ae2ffd3 Initial Dragon audio hal * cd0a7d8 Revert "Selinux: label partitions" * 742d726 dragon: bugreport with volume up+down * 52d6c33 dragon: Add wifi calibration file * 3284420 dragon: Add wifi with bcm4354 support * 4698219 Merge "dragon: disable tlk daemon" |\ | * 18e13a2 dragon: disable tlk daemon * | db4eeac Merge "dragon: Add storage_list.xml for dragon" |\ \ | * | 7e6ee1d dragon: Add storage_list.xml for dragon | |/ * | 66c4603 Selinux: label partitions |/ * 84d5e98 dragon: Add permissions for ion * eee0731 dragon: Switch to using Image.fit for prebuilt kernel * e134b0d dragon: Change fstab entries to reference mmc flash * f51fe32 dragon: Add initial fstab entries for USB partitions * 4cbbdd0 Initial Dragon device files Signed-off-by: David Riley <davidriley@google.com> Change-Id: Iadb843b4e6a1829dcbcac8267529e08ca623fede
/device/google/dragon/audio/hal/audio_hw.h
|