From 5b8fde71e08f57478ef25d040fc5f66294011ac6 Mon Sep 17 00:00:00 2001 From: Andy Hung Date: Tue, 2 Sep 2014 21:14:34 -0700 Subject: Enable full floating point path in AudioMixer Change-Id: I7becce859d6e8db413e6a7c3193ae0f2af273599 --- services/audioflinger/AudioMixer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'services') 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 -- cgit v1.1