summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioMixer.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2011-12-13 11:58:23 -0800
committerGlenn Kasten <gkasten@google.com>2011-12-14 17:25:28 -0800
commit0cfd8231e4c489392809bf44c174315df2690145 (patch)
tree37cf11873d8a71cd563fbe933dc7daab85406283 /services/audioflinger/AudioMixer.cpp
parenteebeceec684a36222b4559e3157b0db04c0a67ed (diff)
downloadframeworks_av-0cfd8231e4c489392809bf44c174315df2690145.zip
frameworks_av-0cfd8231e4c489392809bf44c174315df2690145.tar.gz
frameworks_av-0cfd8231e4c489392809bf44c174315df2690145.tar.bz2
AudioMixer uninitialized simple fields
Change-Id: I47e3849f048d4d990c9634f9c8a2ca2de0339e93
Diffstat (limited to 'services/audioflinger/AudioMixer.cpp')
-rw-r--r--services/audioflinger/AudioMixer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/services/audioflinger/AudioMixer.cpp b/services/audioflinger/AudioMixer.cpp
index 7c7fa56..63d9a88 100644
--- a/services/audioflinger/AudioMixer.cpp
+++ b/services/audioflinger/AudioMixer.cpp
@@ -58,10 +58,16 @@ AudioMixer::AudioMixer(size_t frameCount, uint32_t sampleRate)
t->needs = 0;
t->volume[0] = UNITY_GAIN;
t->volume[1] = UNITY_GAIN;
+ // no initialization needed
+ // t->prevVolume[0]
+ // t->prevVolume[1]
t->volumeInc[0] = 0;
t->volumeInc[1] = 0;
t->auxLevel = 0;
t->auxInc = 0;
+ // no initialization needed
+ // t->prevAuxLevel
+ // t->frameCount
t->channelCount = 2;
t->enabled = 0;
t->format = 16;