summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorAndy Hung <hunga@google.com>2014-09-02 21:14:34 -0700
committerAndy Hung <hunga@google.com>2014-11-07 16:46:37 -0800
commit5b8fde71e08f57478ef25d040fc5f66294011ac6 (patch)
tree419c62fb9364ffec59b5010e7775c739c2e2f625 /services
parent7f47549516ae5938759b5c834c8423378a60b3d8 (diff)
downloadframeworks_av-5b8fde71e08f57478ef25d040fc5f66294011ac6.zip
frameworks_av-5b8fde71e08f57478ef25d040fc5f66294011ac6.tar.gz
frameworks_av-5b8fde71e08f57478ef25d040fc5f66294011ac6.tar.bz2
Enable full floating point path in AudioMixer
Change-Id: I7becce859d6e8db413e6a7c3193ae0f2af273599
Diffstat (limited to 'services')
-rw-r--r--services/audioflinger/AudioMixer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/audioflinger/AudioMixer.cpp b/services/audioflinger/AudioMixer.cpp
index 0d4b358..247f728 100644
--- a/services/audioflinger/AudioMixer.cpp
+++ b/services/audioflinger/AudioMixer.cpp
@@ -69,9 +69,9 @@
#define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0]))
#endif
-// Set kUseNewMixer to true to use the new mixer engine. Otherwise the
-// original code will be used. This is false for now.
-static const bool kUseNewMixer = false;
+// Set kUseNewMixer to true to use the new mixer engine always. Otherwise the
+// original code will be used for stereo sinks, the new mixer for multichannel.
+static const bool kUseNewMixer = true;
// Set kUseFloat to true to allow floating input into the mixer engine.
// If kUseNewMixer is false, this is ignored or may be overridden internally