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

Commit a763b44e authored by Glenn Kasten's avatar Glenn Kasten
Browse files

AudioMixer uninitialized simple fields

Change-Id: I47e3849f048d4d990c9634f9c8a2ca2de0339e93
parent e61fd281
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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;