Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9132a86 authored by Glenn Kasten's avatar Glenn Kasten Committed by Android (Google) Code Review
Browse files

Merge "Use FCC_2 and FCC_8 to highlight channel count assumptions"

parents 2ce504f9 cb4432af
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -78,14 +78,6 @@ class ServerProxy;

// ----------------------------------------------------------------------------

// The macro FCC_2 highlights some (but not all) places where there are are 2-channel assumptions.
// This is typically due to legacy implementation of stereo input or output.
// Search also for "2", "left", "right", "[0]", "[1]", ">> 16", "<< 16", etc.
#define FCC_2 2     // FCC_2 = Fixed Channel Count 2
// The macro FCC_8 highlights places where there are 8-channel assumptions.
// This is typically due to audio mixer and resampler limitations.
#define FCC_8 8     // FCC_8 = Fixed Channel Count 8

static const nsecs_t kDefaultStandbyTimeInNsecs = seconds(3);


+0 −2
Original line number Diff line number Diff line
@@ -41,8 +41,6 @@
#include "AudioMixer.h"
#include "FastMixer.h"

#define FCC_2                       2   // fixed channel count assumption

namespace android {

/*static*/ const FastMixerState FastMixer::sInitial;