summaryrefslogtreecommitdiffstats
path: root/audio/ril_interface.c
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2011-10-13 08:46:22 -0700
committerEric Laurent <elaurent@google.com>2011-10-14 12:35:31 -0700
commitc9d3ae3294832b6993bf97715ed7177e5539e25a (patch)
treef4b18e95b92c4e1fdd5ce5dcadb87a80cc0ccd5a /audio/ril_interface.c
parent163902bbc01a2c1dd92f2849506d187085aadd60 (diff)
downloaddevice_samsung_tuna-c9d3ae3294832b6993bf97715ed7177e5539e25a.zip
device_samsung_tuna-c9d3ae3294832b6993bf97715ed7177e5539e25a.tar.gz
device_samsung_tuna-c9d3ae3294832b6993bf97715ed7177e5539e25a.tar.bz2
audio HAL: support for low power audio
Implement a mechanism to dynamically switch between short and long buffers in kernel pcm driver. Using long buffer significantly decreases power consumption at the expense of latency. Therefore a hint is given to audio HAL by AudioService indicating when the screen is off and low latency is not required any more because neither video playback, VoIP/video chat or any user interaction is expected. This mechanism relies on the support for MMAP and NO IRQ write modes in tinyalsa. Change-Id: Ida9216a141750137a0592187e24a68f263ef3fbe
Diffstat (limited to 'audio/ril_interface.c')
0 files changed, 0 insertions, 0 deletions