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

Commit a43c5184 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

am: 199ec248

Change-Id: I627ecbd798a3e322ec31f7e6d126c6faaa1694dc
parents 0339b684 199ec248
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;
}