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
commit753a1248b3619407078f68074de390a8c47d6fe7 (patch)
treefb7a703bd4c195a22c80f02818fadc1696d7c0d6 /audio/ril_interface.c
parent010eee35ae2b149f7c4c036e9d9c45d8cab8adc6 (diff)
downloaddevice_samsung_tuna-753a1248b3619407078f68074de390a8c47d6fe7.zip
device_samsung_tuna-753a1248b3619407078f68074de390a8c47d6fe7.tar.gz
device_samsung_tuna-753a1248b3619407078f68074de390a8c47d6fe7.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