summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioMixerOps.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix clamp issue with AudioMixer with float input and int16 outputAndy Hung2015-06-181-3/+2
| | | | | Bug: 20706338 Change-Id: I7e3ab0da96901870cc57fbe2e79163bc81157465
* Trigger error only when a template is instantiated.Chih-Hung Hsieh2014-12-111-6/+3
| | | | | | | | | Clang compiler will check defintions and trigger undefined template error of 'android::CompileTimeAssert<false>' even when MixMul is not instantiated. Avoid such parse time error but trigger link error when the generic MixMul template is used. Change-Id: I84ef60a69fbfbeefc93b5654e4bdd54f9d530867
* Fix build warningsGlenn Kasten2014-07-291-1/+1
| | | | Change-Id: Ife5e40264f43fb3ccb40830228701003fe106bf5
* Add multichannel capability to AudioMixerAndy Hung2014-07-241-14/+67
| | | | | | | | tests/test-mixer updated to handle multichannel. New mixer path is still disabled (kUseNewMixer = false). Subsequent CL will enable multichannel capability. Change-Id: I71dafa94cc1d9af567c285e0ded7c5c94e3ff926
* Add floating point volume handling to AudioMixerAndy Hung2014-07-081-0/+40
| | | | | | | | | | | | | | | Use floating point volume in AudioMixer mixing when floating point input is used with the new mixer engine. AudioResampler is updated to take floating point volume to match. Both legacy integer and floating point mixer engines work. For now, integer volume is used when the new mixer engine runs in integer input mode, for backward compatibility with the legacy mixer. The new mixer engine will generally run in floating point input mode. When the legacy path is removed, the integer volumes will be removed. Change-Id: I79e80c292ae7c8b8bdd0aa371a1b2c3a1b618290
* Add new AudioMixer processing hooksAndy Hung2014-06-301-0/+361
This change adds new process and thread hooks for multi-format handling. It is enabled by setting kUseNewMixer = true. Change-Id: I262a3d2e4411f8cef7370a497b77a34eb55f1f86