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

Commit 199ec248 authored by jiabin's avatar jiabin Committed by android-build-merger
Browse files

Merge "Init gain config to prevent uninit leak." into pi-dev

am: 836949cb

Change-Id: I61ce147f90408f10789764bbd4c9d29c8bb3f378
parents 177b95a7 836949cb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -391,6 +391,7 @@ AudioPortConfig::AudioPortConfig()
    mSamplingRate = 0;
    mChannelMask = AUDIO_CHANNEL_NONE;
    mFormat = AUDIO_FORMAT_INVALID;
    memset(&mGain, 0, sizeof(struct audio_gain_config));
    mGain.index = -1;
}