summaryrefslogtreecommitdiffstats
path: root/media/libeffects/downmix/EffectDownmix.h
Commit message (Collapse)AuthorAgeFilesLines
* Switch to new fx library APIMarco Nelissen2012-10-251-3/+0
| | | | Change-Id: I6603aef5e3821a8f911e3f33ef8565d04bd1e2e5
* Stereo downmixer supports generic configurations. Fix 7.1 downmixJean-Michel Trivi2012-05-161-0/+13
| | | | | | | | | | | | | | | | | | Added a generic downmixer to stereo function to handle the multichannel configurations not supported by the dedicated downmix functions. It first verifies the mask is supported, and then derives channel indices for the downmix. Added support for forcing the generic downmixer to be always used instead of the format-specific functions (define DOWNMIX_ALWAYS_USE_GENERIC_DOWNMIXER to force it). Fixed 7.1 downmix function where handling of accumulate vs overwrite was inversed. Bug 4280902 Change-Id: I8259b32c4e90f76ef4dcd803592fc71df4ae90c5
* Effect for multichannel PCM downmix to stereoJean-Michel Trivi2012-03-071-0/+96
First pass at implementing an audio effect whose role is to downmix multichannel PCM buffers to stereo. The effect is not handling volume changes. The effect code here handles quad, 4.0, 5.1 and 7.1 input configurations, to optimize the most commom configurations, and does not yet handle generic multichanel configurations. Change-Id: I74d04bd961348f3f0e4ae7714b70e620808a0829