Age | Commit message (Collapse) | Author |
|
Bug: 22594886
Change-Id: I1caa47d0b217de083a68483a1cea4b9addb1b170
|
|
Bug: 20226809
Change-Id: I864aa498c3a04545a9e61aa56a96adc949393777
|
|
On T132, IPI latency is observed to be 100's of microseconds. This
change and corresponding kernel change for APB DMA interrupts will
ensure that audio interrupt and waking thread, FastMixer, both run
on same core, thereby eliminating IPI latency altogether.
Bug: 20226809
Change-Id: I6d3b7006acfaee4d21ea7ac89ad2cce3494a99eb
|
|
Audio underruns can be handled either by stopping pcm device and
preparing it again or by playing silence frames till application
fills the buffer again. On average, stopping and preparing pcm device
takes 2-4 times more time than just playing silence frames and let
the application catch-up. So switching to that approach now.
Bug: 20226809
Bug: 20300203
Change-Id: I53a1d32879e594d15fa2b0142852649edb2b5835
|
|
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
|
|
compress offload path""""
This reverts commit 83472e8f2be82832d36d4de9324624e6d0d417ed.
|
|
offload path"""
This reverts commit 6ea970a1e88c14219708b1f1ad0937d149167fa0.
|
|
path""
This reverts commit 5da021f1ae8f12ae6e23edeea44ea805960d6e53.
Bug: 16683770.
Change-Id: Ib8494c37725eb00dcb64ff490985cc1d0c0e4b8a
|
|
Current SCO_PERIOD_SIZE will make FastCapture turned on for a call
initiated with BT-SCO. Increase it to apply AudioStreamIn instead.
Bug 18710410
Change-Id: Idfe641a96c137d8a7973a7b9e638d9911e5cb0f9
|
|
This reverts commit 476a97240a37b5ad79f2db295a7f1eb58959982a.
|
|
Bug: 16683770
Change-Id: I6fe056db6ea1ed3a7be7341873b8b2c3876fb935
|
|
Fix codec doesn't close during pause condition (mr1)
Bug: 16683770
Change-Id: Idff3ad7dc942021d300a23b70560e9039b284879
Signed-off-by: andy_su <andy_su@htc.com>
|
|
Add support for offload volume control.
Bug: 16683770
Change-Id: I6ceb89b6c3fa016c4f1ff00e7573a1337f158415
Signed-off-by: andy_su <andy_su@htc.com>
|
|
Bug: 17459931
Change-Id: I654c9034281e024b8ce82f65c50eeea26ada6db6
Signed-off-by: andy_su <andy_su@htc.com>
|
|
There is a problem with mutex acquisition order when removing or
adding an echo reference from do_input_standby_l() or start_input_stream():
the output stream mutex is acquired after the audio device mutex creating
a potential cross deadlock as the required order is output stream mutex
then audio device mutex.
Bug: 17830596.
Change-Id: I465f4eeb1f1f2e76d6cc3d685d96e4758c6bc473
|
|
Bug: 17129712
Change-Id: Ib0336e2b7f4c15f999d3e5984b1d87bfde884a65
|
|
Modifies the HAL and soundtrigger to support streaming audio samples
from the DSP.
Bug: 16731718
Change-Id: I65c98281f6f01c9974714324b14d0a2c390d4e00
|
|
Squashed commit of the following:
commit 99773ffa56d912bb585ea72b0bd8147d811aa56b
Author: Glenn Kasten <gkasten@google.com>
Date: Thu Aug 14 15:12:29 2014 -0700
Revert "flounder: audio: add support for offload"
This reverts commit 62e1aabc8b0528bbacd3cd587933d6567027097c.
commit f68ef772f6c83cf0c246c075dabd35c28c0bea4f
Author: Glenn Kasten <gkasten@google.com>
Date: Thu Aug 14 15:12:14 2014 -0700
Revert "flounder: audio: fix headphone control name typo"
This reverts commit eaf2647725208900eb48efb35bc8cf2e9333ba29.
commit 168e3f9cd3d4ca67e3442f3b09268eb7affd6221
Author: Glenn Kasten <gkasten@google.com>
Date: Thu Aug 14 15:11:05 2014 -0700
Revert "flounder: audio: Route pcm to low latency path"
This reverts commit 302af93c0d414d8ff177199c279b1be9f3ab0e31.
Bug: 17034131
Change-Id: I406155176d55c03cd0e4f984047371d15e70ee8d
|
|
Bug: 14616443
Change-Id: I7d4db479eba1086af0a1641af3b4089471dcdba0
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
Bug: 16900929.
Change-Id: Ib6c07533cde93685dec49f112fe1b18198388a85
|
|
Change-Id: I669c2c3a5802378e8490690f09ab143876dc71d3
|
|
Bug: 16522823
Change-Id: Idb568e872a965bf37cec1aabe3ba49127f98c3b9
|
|
Bug: 15879456
Change-Id: I6adc35063cb9677267fb9b6123e855dece138e00
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
Change-Id: I40b44d7c42cadb607d8d86106dde81d31b68062f
|
|
Bug: 16011714
Change-Id: I961954c53128cd5b67035383721ae7b7027d2378
|
|
Change-Id: Ieace75510ce351b1f7953fb938e8e0a200015ba7
|
|
Change-Id: Ia655c9a169148f1c40eed6cbbc3ac712efc05c90
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
This reverts commit 4b4b696972b2978c81948e400734b7a4c94f5ac9.
Change-Id: If522ae0fbf808c3484e06349a2dd2db31707acee
|
|
Change-Id: I2d7d31c99c320ae34b234f4f2f685f2907c78938
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
- Take rounding into consideration when calculating
output frame count after downsampling to always ask more
frames than needed to the resampler.
- Adjust SCO ALSA PCM device frame size so that writes are evenly
paced to avoid underruns due to bursty writes.
Bug: 14240418.
Change-Id: I119454d9725cc400cd5f53d7f9cb11ffd31b1574
|
|
output stream
Change-Id: Ibcada2e7e28551062f78f13522833c5798f016ef
Signed-off-by: wesley_wang <wesley_wang@htc.com>
|
|
Change-Id: I7d4a7497fbe1c8e25184c358b239041524da0333
|
|
Change-Id: I09bbc2af9ecb9a12c2493056fa461a71ac7a7bf5
Signed-off-by: wesley_wang <wesley_wang@htc.com>
|
|
Change-Id: I26e129d200d9c889e5c61abb27923d47a092415b
Signed-off-by: Tony Hsieh <tony.ml_hsieh@htc.com>
|
|
First flounder audio HAL implementation.
- Supports several mixer cards with one mixer_paths_X.xml file for
each card.
- Each output stream can drive several ALSA PCM streams. All PCM
streams on the same output stream must have the same configuration
(sampling rate, period size ...).
- Each PCM stream can be connected to only one output device (e.g headphone)
at a time.
- PCM capture device is always at 48kHz to allow concurent playback and capture.
Resampling is done by the input stream in the HAL. Resampling will be removed
when AudioFlinger supports down sampling from 48 to 8.
- SCO playback and capture relies on Audio HUB for 48 to 8/16 resampling.
- Only tested on Ardbeg board
- Only tested playback and capture to/from headset.
- mixer_paths_1.xml only defines headset paths.
- place holders for voice call use cases are present to prepare migration
to a generic tegra HAL.
Change-Id: I8f95a53bb85ca7e42611eee0418fa58442a7f750
|