summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Configuration.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename FAST_MIXER_STATISTICS to FAST_THREAD_STATISTICSGlenn Kasten2015-03-021-3/+2
| | | | Change-Id: Idb5f5bf0c20bffff8536cf4a46f696e12e99e81b
* Start pulling bits of FastMixer up to FastThreadGlenn Kasten2014-04-281-0/+1
| | | | Change-Id: I4c6f7b8f88fcf107bb29ee6432feecd4ab6554d2
* AudioTrack: Never try to use the fast path if resampling is requiredMartin Storsjo2014-01-311-3/+0
| | | | | | | | | | | | | | | | | | Unless AudioFlinger was built with FAST_TRACKS_AT_NON_NATIVE_SAMPLE_RATE enabled, AudioFlinger would deny using the fast path (and internally fall back to the normal codepath) when it realized that resampling was required. Since the buffer size calculations within AudioFlinger don't take resampling into account properly (see the calculation below "AUDIO_OUTPUT_FLAG_FAST denied" in audioflinger/Threads.cpp, just below the hunk that this patch changes), make sure AudioTrack doesn't try to use the fast path if resampling is required. This removes the possibility to enable FAST_TRACKS_AT_NON_NATIVE_SAMPLE_RATE in AudioFlinger since it AudioTrack now won't even try to use the fast path for content that requires resampling, regardless of the AudioFlinger configuration. Change-Id: Icf0f8ad50bf0fdb84657f518c0120aa0535f23f9
* Make AudioFlinger::instantiate() more resilient when called from separate moduleGlenn Kasten2013-07-191-0/+47
Bug: 8834855 Change-Id: I4cd842cdfb09d2aaaaab9df9ac3bec6179709bd3