summaryrefslogtreecommitdiffstats
path: root/media/jni/soundpool
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2011-06-17 21:29:58 -0700
committerEric Laurent <elaurent@google.com>2011-07-18 09:42:57 -0700
commit464d5b3da21c84ba13dc69c611d40f6bed49badb (patch)
tree077449115c49bf62ad94e7328f4ac57729659e41 /media/jni/soundpool
parent919511a6da6a8d49857d7c0c5fa2e9d66d42efc2 (diff)
downloadframeworks_base-464d5b3da21c84ba13dc69c611d40f6bed49badb.zip
frameworks_base-464d5b3da21c84ba13dc69c611d40f6bed49badb.tar.gz
frameworks_base-464d5b3da21c84ba13dc69c611d40f6bed49badb.tar.bz2
Audio framework: support for audio pre processing
Audio effect framework is extended to suport effects on output and input audio path. AudioFlinger: Support for audio effects and effect chains is moved from PlaybackThread class to ThreadBase class so that RecordThread can manage effects. Effects of type pre processing are allowed on record thread only. When a pre processing is enabled, the effect interface handle is passed down to the input stream so that the audio HAL can call the process function. The record thread loop calls the effect chain process function that will only manage the effect state and commands and skip the process function. AudioRecord: The audio session is allocated before calling getInput() into audio policy serice so that the session is known before the input theead is created and pre processings can be created on the correct session. AudioPolicyService: default pre processing for a given input source are loaded from audio_effects.conf file. When an input is created, corresponding effects are created and enabled. Change-Id: Id17119e0979b4dcf189b5c7957fec30dc3478790
Diffstat (limited to 'media/jni/soundpool')
0 files changed, 0 insertions, 0 deletions